projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e48b3c9
)
use the parent's method
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 20 May 2010 16:20:25 +0000
(12:20 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 20 May 2010 16:20:40 +0000
(12:20 -0400)
ansel/lib/Gallery.php
patch
|
blob
|
history
diff --git
a/ansel/lib/Gallery.php
b/ansel/lib/Gallery.php
index
052ef03
..
11950b0
100644
(file)
--- a/
ansel/lib/Gallery.php
+++ b/
ansel/lib/Gallery.php
@@
-770,8
+770,7
@@
class Ansel_Gallery extends Horde_Share_Object_Sql_Hierarchical
return true;
}
-
- return $GLOBALS['injector']->getInstance('Horde_Perms')->hasPermission($this->getPermission(), $userid, $permission, $creator);
+ return parent::hasPermission($userid, $permission, $creator);
}
/**