Remove irrelevant else case
This commit is contained in:
parent
dcd1f18611
commit
047f949967
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue