mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:50:11 +00:00
refactor naming & superfluous check
This commit is contained in:
parent
8c6e6b5dea
commit
b22ff7419e
2 changed files with 7 additions and 7 deletions
|
@ -30,7 +30,7 @@ class ConfigCache implements IConfigCache, IPConfigCache
|
|||
$categories = array_keys($config);
|
||||
|
||||
foreach ($categories as $category) {
|
||||
if (isset($config[$category]) && is_array($config[$category])) {
|
||||
if (is_array($config[$category])) {
|
||||
$keys = array_keys($config[$category]);
|
||||
|
||||
foreach ($keys as $key) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue