]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Config.php
Don't show the connect link in the profile on the "follow" page
[friendica.git] / src / Core / Config.php
index a1ea5ae1ff19c8a4a50612bdb8bdf46793c3fc93..2515116a9bdef7b01be4bea1eec18b0949047fe5 100644 (file)
@@ -11,6 +11,8 @@ namespace Friendica\Core;
 use Friendica\Database\DBM;
 use dba;
 
+require_once 'include/dba.php';
+
 /**
  * @brief Arbitrary sytem configuration storage
  *
@@ -159,7 +161,7 @@ class Config
                // manage array value
                $dbvalue = (is_array($value) ? serialize($value) : $dbvalue);
 
-               dba::update('config', array('v' => $dbvalue), array('cat' => $family, 'k' => $key), true);
+               $ret = dba::update('config', array('v' => $dbvalue), array('cat' => $family, 'k' => $key), true);
 
                if ($ret) {
                        self::$in_db[$family][$key] = true;