performance improvement in case of db-load
This commit is contained in:
parent
e1d9d67632
commit
ad1254c49c
2 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,7 @@ class Configuration
|
||||||
|
|
||||||
if ($dbvalue !== '!<unset>!') {
|
if ($dbvalue !== '!<unset>!') {
|
||||||
$this->configCache->set($cat, $key, $dbvalue);
|
$this->configCache->set($cat, $key, $dbvalue);
|
||||||
|
return $dbvalue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,6 +79,7 @@ class PConfiguration
|
||||||
|
|
||||||
if ($dbValue !== '!<unset>!') {
|
if ($dbValue !== '!<unset>!') {
|
||||||
$this->configCache->setP($uid, $cat, $key, $dbValue);
|
$this->configCache->setP($uid, $cat, $key, $dbValue);
|
||||||
|
return $dbValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue