]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Oauth_application.php
maxNoticeLength test for url-shortening failed on maxContent==0
[quix0rs-gnu-social.git] / classes / Oauth_application.php
index 15faffe2fb3fdf3518b214f13b1ce9f4160989c8..90218e93cbd5c6d3019d23dbc214e92c23cfc874 100644 (file)
@@ -25,10 +25,6 @@ class Oauth_application 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('Oauth_application',$k,$v);
-    }
     /* the code above is auto generated do not remove the tag below */
     ###END_AUTOCODE
 
@@ -41,7 +37,7 @@ class Oauth_application extends Managed_DataObject
 
     function getConsumer()
     {
-        return Consumer::staticGet('consumer_key', $this->consumer_key);
+        return Consumer::getKV('consumer_key', $this->consumer_key);
     }
 
     static function maxDesc()