X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FConfig.php;h=56b85dba46a5ec1a55ae4a05606e7d28b3b31cc3;hb=51a29d381f6babcbd18787c72d4e1c702b94c0ec;hp=f3c5dc13a1800c9e7b015c8c233519221968ca73;hpb=f248f9cc8523c08216a6ab99ce6bf55897af44bc;p=friendica.git diff --git a/src/Core/Config.php b/src/Core/Config.php index f3c5dc13a1..56b85dba46 100644 --- a/src/Core/Config.php +++ b/src/Core/Config.php @@ -1,15 +1,15 @@ !') { @@ -98,7 +98,7 @@ class Config { } $ret = dba::select('config', array('v'), array('cat' => $family, 'k' => $key), array('limit' => 1)); - if (dbm::is_result($ret)) { + if (DBM::is_result($ret)) { // manage array value $val = (preg_match("|^a:[0-9]+:{.*}$|s", $ret['v']) ? unserialize($ret['v']) : $ret['v']); @@ -107,7 +107,6 @@ class Config { self::$in_db[$family][$key] = true; return $val; } elseif (isset($a->config[$family][$key])) { - // Assign the value (mostly) from the .htconfig.php to the cache self::$cache[$family][$key] = $a->config[$family][$key]; self::$in_db[$family][$key] = false;