Move hasPermisson to the base class, implement ::get() to behave like
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 9 Sep 2009 19:31:28 +0000 (15:31 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 29 Sep 2009 20:53:59 +0000 (16:53 -0400)
a share.

kronolith/lib/Resource/Single.php

index bb61f60..3209166 100644 (file)
@@ -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