use the parent's method
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 20 May 2010 16:20:25 +0000 (12:20 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 20 May 2010 16:20:40 +0000 (12:20 -0400)
ansel/lib/Gallery.php

index 052ef03..11950b0 100644 (file)
@@ -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);
     }
 
     /**