Skip to content

Commit

Permalink
UrlMigration: Remove unnecessary empty check
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Aug 21, 2023
1 parent ededba9 commit 34f6228
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions library/Icingadb/Compat/UrlMigrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,6 @@ protected static function hostsColumns(): array
}
}

if (empty($columns)) {
return false;
}

return Filter::equal('columns', implode(',', $columns));
},

Expand Down Expand Up @@ -521,10 +517,6 @@ protected static function servicesColumns(): array
}
}

if (empty($columns)) {
return false;
}

return Filter::equal('columns', implode(',', $columns));
},

Expand Down

0 comments on commit 34f6228

Please sign in to comment.