From: Hypolite Petovan Date: Mon, 5 Mar 2018 03:59:26 +0000 (-0500) Subject: Remove irrelevant else case X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=047f94996773ac248442c9565991f3558dc9aa36;p=friendica.git Remove irrelevant else case --- diff --git a/src/Core/Config/PreloadConfigAdapter.php b/src/Core/Config/PreloadConfigAdapter.php index 4abcc4a1a4..6d4350042d 100644 --- a/src/Core/Config/PreloadConfigAdapter.php +++ b/src/Core/Config/PreloadConfigAdapter.php @@ -47,8 +47,6 @@ class PreloadConfigAdapter extends BaseObject implements IConfigAdapter $config = dba::selectFirst('config', ['v'], ['cat' => $cat, 'k' => $k]); if (DBM::is_result($config)) { $this->setPreloadedValue($cat, $k, $config['v']); - } else { - $this->deletePreloadedValue($cat, $k); } }