From: Michael J. Rubinsky Date: Thu, 20 May 2010 16:20:25 +0000 (-0400) Subject: use the parent's method X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3fccbab526dc274a666558793d033f28dfcf6dea;p=horde.git use the parent's method --- diff --git a/ansel/lib/Gallery.php b/ansel/lib/Gallery.php index 052ef0341..11950b056 100644 --- 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); } /**