From d0b95e642f8df0d270610ea62ac23313c7168f4d Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 24 Oct 2016 11:57:17 -0400 Subject: [PATCH] Reverted changes to config --- include/Core/Config.php | 4 ---- include/Core/PConfig.php | 4 ---- 2 files changed, 8 deletions(-) diff --git a/include/Core/Config.php b/include/Core/Config.php index ea6d9cda62..6ef394f2f1 100644 --- a/include/Core/Config.php +++ b/include/Core/Config.php @@ -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 diff --git a/include/Core/PConfig.php b/include/Core/PConfig.php index bd4883c0d3..c5e8335d88 100644 --- a/include/Core/PConfig.php +++ b/include/Core/PConfig.php @@ -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);