projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad0cf53
)
Move hasPermisson to the base class, implement ::get() to behave like
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 9 Sep 2009 19:31:28 +0000
(15:31 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 29 Sep 2009 20:53:59 +0000
(16:53 -0400)
a share.
kronolith/lib/Resource/Single.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Resource/Single.php
b/kronolith/lib/Resource/Single.php
index
bb61f60
..
3209166
100644
(file)
--- a/
kronolith/lib/Resource/Single.php
+++ b/
kronolith/lib/Resource/Single.php
@@
-141,26
+141,8
@@
class Kronolith_Resource_Single extends Kronolith_Resource_Base
}
}
-<<<<<<< HEAD
public function getResponseType()
{
return $this->get('response_type');
-=======
- /**
- * @TODO: need to fine tune this
- * @param $user
- * @param $permission
- * @param $restrict
- * @return unknown_type
- */
- public function hasPermission($user, $permission = PERMS_READ, $restrict = null)
- {
- if (Horde_Auth::isAdmin()) {
- return true;
- }
-
- return false;
->>>>>>> listEvents:: isn't detailed enough for this...manually compare
}
-
}
\ No newline at end of file