]> git.mxchange.org Git - friendica.git/commitdiff
Remove irrelevant else case
authorHypolite Petovan <mrpetovan@gmail.com>
Mon, 5 Mar 2018 03:59:26 +0000 (22:59 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Wed, 7 Mar 2018 00:52:36 +0000 (19:52 -0500)
src/Core/Config/PreloadConfigAdapter.php

index 4abcc4a1a42b9aa0826c3456d16910412a2dfbde..6d4350042d9afdca155eb5d9602b23912e42b53c 100644 (file)
@@ -47,8 +47,6 @@ class PreloadConfigAdapter extends BaseObject implements IConfigAdapter
                        $config = dba::selectFirst('config', ['v'], ['cat' => $cat, 'k' => $k]);\r
                        if (DBM::is_result($config)) {\r
                                $this->setPreloadedValue($cat, $k, $config['v']);\r
-                       } else {\r
-                               $this->deletePreloadedValue($cat, $k);\r
                        }\r
                }\r
 \r