From 3fccbab526dc274a666558793d033f28dfcf6dea Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 20 May 2010 12:20:25 -0400 Subject: [PATCH] use the parent's method --- ansel/lib/Gallery.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } /** -- 2.11.0