From 34f6228397310559d3e4f0ffc651ee32d2bc7d14 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 21 Aug 2023 15:45:34 +0200 Subject: [PATCH] UrlMigration: Remove unnecessary empty check --- library/Icingadb/Compat/UrlMigrator.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/library/Icingadb/Compat/UrlMigrator.php b/library/Icingadb/Compat/UrlMigrator.php index b2af59522..1a5968077 100644 --- a/library/Icingadb/Compat/UrlMigrator.php +++ b/library/Icingadb/Compat/UrlMigrator.php @@ -290,10 +290,6 @@ protected static function hostsColumns(): array } } - if (empty($columns)) { - return false; - } - return Filter::equal('columns', implode(',', $columns)); }, @@ -521,10 +517,6 @@ protected static function servicesColumns(): array } } - if (empty($columns)) { - return false; - } - return Filter::equal('columns', implode(',', $columns)); },