]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
try to make some static/non-static stuff work right
authorEvan Prodromou <evan@controlyourself.ca>
Fri, 26 Sep 2008 16:23:47 +0000 (12:23 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 26 Sep 2008 16:23:47 +0000 (12:23 -0400)
darcs-hash:20080926162347-5ed1f-ddb17266f5a60ee85db5fdfb9c8bd12311da3c73.gz

classes/Memcached_DataObject.php

index 2c44b734af80ae5f97f6454306662502fc17bc02..12e55af21f25c0bebd28a013288ebb729f8a6b7b 100644 (file)
@@ -23,8 +23,8 @@ require_once INSTALLDIR.'/classes/Memcached_DataObject.php';
 
 class Memcached_DataObject extends DB_DataObject 
 {
-    static function &staticGet($cls, $k, $v=NULL) {
-               $i = $this->getcached($cls, $k, $v);
+    function &staticGet($cls, $k, $v=NULL) {
+               $i = Memcached_DataObject::getcached($cls, $k, $v);
                if (!is_null($i)) {
                        return $i;
                } else {