Browse Source

Remove irrelevant else case

pull/4540/head
Hypolite Petovan 3 years ago
parent
commit
047f949967
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      src/Core/Config/PreloadConfigAdapter.php

+ 0
- 2
src/Core/Config/PreloadConfigAdapter.php 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);
}
}


Loading…
Cancel
Save