forked from GNUsocial/gnu-social
Memcached_DataObject unnecessarily require_once'd itself
This commit is contained in:
parent
1d64ba6602
commit
a3e484a0e8
@ -19,8 +19,6 @@
|
|||||||
|
|
||||||
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
|
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
|
||||||
|
|
||||||
require_once INSTALLDIR.'/classes/Memcached_DataObject.php';
|
|
||||||
|
|
||||||
class Memcached_DataObject extends DB_DataObject
|
class Memcached_DataObject extends DB_DataObject
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
@ -353,7 +351,7 @@ class Memcached_DataObject extends DB_DataObject
|
|||||||
unset($_DB_DATAOBJECT['CONNECTIONS'][$index]);
|
unset($_DB_DATAOBJECT['CONNECTIONS'][$index]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = parent::_connect();
|
$result = parent::_connect();
|
||||||
|
|
||||||
if ($result && !$exists) {
|
if ($result && !$exists) {
|
||||||
|
Loading…
Reference in New Issue
Block a user