From: Philipp Holzer Date: Mon, 11 Feb 2019 22:39:51 +0000 (+0100) Subject: performance improvement in case of db-load X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ad1254c49cac6e6278cd777b1a3887f5042204de;p=friendica.git performance improvement in case of db-load --- diff --git a/src/Core/Config/Configuration.php b/src/Core/Config/Configuration.php index 2ad11b0ba3..2ac0da0ad1 100644 --- a/src/Core/Config/Configuration.php +++ b/src/Core/Config/Configuration.php @@ -87,6 +87,7 @@ class Configuration if ($dbvalue !== '!!') { $this->configCache->set($cat, $key, $dbvalue); + return $dbvalue; } } diff --git a/src/Core/Config/PConfiguration.php b/src/Core/Config/PConfiguration.php index cf7ef6adca..99b1aa1469 100644 --- a/src/Core/Config/PConfiguration.php +++ b/src/Core/Config/PConfiguration.php @@ -79,6 +79,7 @@ class PConfiguration if ($dbValue !== '!!') { $this->configCache->setP($uid, $cat, $key, $dbValue); + return $dbValue; } }