]> git.mxchange.org Git - friendica.git/blobdiff - include/Core/PConfig.php
Prevent a memory Access Violation when the database isn't connected
[friendica.git] / include / Core / PConfig.php
index bd4883c0d302afe2987ce3f1c1b831581d303d32..c5e8335d88bbd96fd307d76735c4d64ce2845957 100644 (file)
@@ -123,10 +123,6 @@ class PConfig {
 
                global $a;
 
-               if (self::get($uid, $family, $key) == $value) {
-                       return true;
-               }
-
                // manage array value
                $dbvalue = (is_array($value)?serialize($value):$value);