Remove irrelevant else case

This commit is contained in:
Hypolite Petovan 2018-03-04 22:59:26 -05:00
parent dcd1f18611
commit 047f949967

View file

@ -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);
}
}