summaryrefslogtreecommitdiffstats
path: root/modules/migrate/application/clicommands/NavigationCommand.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/migrate/application/clicommands/NavigationCommand.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/migrate/application/clicommands/NavigationCommand.php b/modules/migrate/application/clicommands/NavigationCommand.php
new file mode 100644
index 0000000..28ae8a1
--- /dev/null
+++ b/modules/migrate/application/clicommands/NavigationCommand.php
@@ -0,0 +1,20 @@
+<?php
+
+/* Icinga Web 2 | (c) 2021 Icinga GmbH | GPLv2+ */
+
+namespace Icinga\Module\Migrate\Clicommands;
+
+use Icinga\Application\Logger;
+use Icinga\Cli\Command;
+
+class NavigationCommand extends Command
+{
+ /**
+ * Deprecated. Use `icingacli icingadb migrate navigation` instead.
+ */
+ public function indexAction(): void
+ {
+ Logger::error('Deprecated. Use `icingacli icingadb migrate navigation` instead.');
+ exit(1);
+ }
+}