Reverted changes to config

This commit is contained in:
Hypolite Petovan 2016-10-24 11:57:17 -04:00
parent 2ecd1f5d09
commit d0b95e642f
2 changed files with 0 additions and 8 deletions

View file

@ -126,10 +126,6 @@ class Config {
public static function set($family, $key, $value) { public static function set($family, $key, $value) {
global $a; global $a;
if (self::get($family, $key) == $value) {
return true;
}
$a->config[$family][$key] = $value; $a->config[$family][$key] = $value;
// manage array value // manage array value

View file

@ -123,10 +123,6 @@ class PConfig {
global $a; global $a;
if (self::get($uid, $family, $key) == $value) {
return true;
}
// manage array value // manage array value
$dbvalue = (is_array($value)?serialize($value):$value); $dbvalue = (is_array($value)?serialize($value):$value);