]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Remote_profile.php
I missed a preg_replace with /e
[quix0rs-gnu-social.git] / classes / Remote_profile.php
index d59f97ada7cd115035ae1ef7339f2dadfb81de8b..46a187f25b8ab50901853c270478e56ed5953d5a 100644 (file)
@@ -37,16 +37,12 @@ class Remote_profile extends Managed_DataObject
     public $created;                         // datetime()   not_null
     public $modified;                        // timestamp()   not_null default_CURRENT_TIMESTAMP
 
-    /* Static get */
-    function staticGet($k,$v=null)
-    { return Memcached_DataObject::staticGet('Remote_profile',$k,$v); }
-
     /* the code above is auto generated do not remove the tag below */
     ###END_AUTOCODE
 
     function hasRight($right)
     {
-        $profile = Profile::staticGet($this->id);
+        $profile = Profile::getKV($this->id);
         if ($profile) {
             return $profile->hasright($right);
         } else {