try to make some static/non-static stuff work right

darcs-hash:20080926162347-5ed1f-ddb17266f5a60ee85db5fdfb9c8bd12311da3c73.gz
This commit is contained in:
Evan Prodromou 2008-09-26 12:23:47 -04:00
parent ded5e3dd6c
commit 156207d58d

View 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 {