]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
better handling of staticGet
authorEvan Prodromou <evan@controlyourself.ca>
Fri, 26 Sep 2008 16:19:46 +0000 (12:19 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 26 Sep 2008 16:19:46 +0000 (12:19 -0400)
darcs-hash:20080926161946-5ed1f-496b47c72a77fb26610af465af9d9e26c488d315.gz

classes/Memcached_DataObject.php

index 9115898ff3c785d1a762c238a9ffe4beb64ea2dd..2c44b734af80ae5f97f6454306662502fc17bc02 100644 (file)
@@ -28,7 +28,7 @@ class Memcached_DataObject extends DB_DataObject
                if (!is_null($i)) {
                        return $i;
                } else {
-                       $i = parent::staticGet($k, $v);
+                       $i = DB_DataObject::staticGet($cls, $k, $v);
                        if (!is_null($i)) {
                                $i->encache();
                        }