try to make some static/non-static stuff work right
darcs-hash:20080926162347-5ed1f-ddb17266f5a60ee85db5fdfb9c8bd12311da3c73.gz
This commit is contained in:
parent
ded5e3dd6c
commit
156207d58d
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user