From: Evan Prodromou Date: Fri, 26 Sep 2008 16:23:47 +0000 (-0400) Subject: try to make some static/non-static stuff work right X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=156207d58d41066bb43826d9e038c8ff44c9195f;p=quix0rs-gnu-social.git try to make some static/non-static stuff work right darcs-hash:20080926162347-5ed1f-ddb17266f5a60ee85db5fdfb9c8bd12311da3c73.gz --- diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php index 2c44b734af..12e55af21f 100644 --- a/classes/Memcached_DataObject.php +++ b/classes/Memcached_DataObject.php @@ -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 {