From c8f3f503fb2c903492517a2f6b5b3775b4d9aa42 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 10 Dec 2020 14:21:03 +0100 Subject: [PATCH] Remove obsolete PACKAGE_ID check in ImportCLICommand --- .../lib/system/cli/command/ImportCLICommand.class.php | 11 ----------- wcfsetup/install/lang/de.xml | 1 - wcfsetup/install/lang/en.xml | 1 - 3 files changed, 13 deletions(-) diff --git a/wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php b/wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php index 6eea807cc0..39544679fe 100644 --- a/wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php +++ b/wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php @@ -123,17 +123,6 @@ class ImportCLICommand implements ICLICommand { return; } - if (PACKAGE_ID == 1) { - CLIWCF::getReader()->println(StringUtil::stripHTML(WCF::getLanguage()->get('wcf.acp.dataImport.cli.info.wcf'))); - - $answer = CLIWCF::getReader()->readLine('> '); - if ($answer === null) exit; - if (mb_strtolower($answer) != 'y') { - CLIWCF::getReader()->setHistoryEnabled(true); - return; - } - } - // step 1) previous import $sql = "SELECT COUNT(*) FROM wcf".WCF_N."_import_mapping"; diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index c3d365f917..d88a875a71 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -347,7 +347,6 @@ - diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index b8d3d634ab..c4b3b583f9 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -324,7 +324,6 @@ - -- 2.20.1