X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FConfig.php;h=56b85dba46a5ec1a55ae4a05606e7d28b3b31cc3;hb=51a29d381f6babcbd18787c72d4e1c702b94c0ec;hp=be0d0def161a8c4215f1555f8df32850dd62aec8;hpb=e6e8ebbac5ec0b7d93c164c2ffd4c6c80fb845fc;p=friendica.git diff --git a/src/Core/Config.php b/src/Core/Config.php index be0d0def16..56b85dba46 100644 --- a/src/Core/Config.php +++ b/src/Core/Config.php @@ -1,15 +1,15 @@ !') { @@ -99,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']); @@ -108,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;