mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:40:16 +00:00
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>!') {
|
||||
$this->configCache->set($cat, $key, $dbvalue);
|
||||
return $dbvalue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -79,6 +79,7 @@ class PConfiguration
|
|||
|
||||
if ($dbValue !== '!<unset>!') {
|
||||
$this->configCache->setP($uid, $cat, $key, $dbValue);
|
||||
return $dbValue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue