]> git.mxchange.org Git - friendica.git/commitdiff
Reverted changes to config
authorHypolite Petovan <mrpetovan@gmail.com>
Mon, 24 Oct 2016 15:57:17 +0000 (11:57 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Mon, 24 Oct 2016 15:57:17 +0000 (11:57 -0400)
include/Core/Config.php
include/Core/PConfig.php

index ea6d9cda6240934de638a7af5f8ead9f1fe31d6b..6ef394f2f1cb8cd65aa233eb5d1e1e65b340fb8e 100644 (file)
@@ -126,10 +126,6 @@ class Config {
        public static function set($family, $key, $value) {
                global $a;
 
-               if (self::get($family, $key) == $value) {
-                       return true;
-               }
-
                $a->config[$family][$key] = $value;
 
                // manage array value
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);