MITM the DB_DataObject to avoid PEAR::DB strict standards warnings

This commit is contained in:
Mikael Nordfeldth
2015-06-06 18:29:15 +02:00
parent 3c2a720b21
commit 9712a92853
3 changed files with 196 additions and 5 deletions

View File

@@ -824,7 +824,7 @@ class Memcached_DataObject extends Safe_DataObject
global $_DB_DATAOBJECT;
if (empty($_DB_DATAOBJECT['CONFIG'])) {
DB_DataObject::_loadConfig();
self::_loadConfig();
}
$options = &$_DB_DATAOBJECT['CONFIG'];