From: Tim Düsterhus Date: Thu, 10 Dec 2020 13:21:03 +0000 (+0100) Subject: Remove obsolete PACKAGE_ID check in ImportCLICommand X-Git-Tag: 5.3.2~47 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c8f3f503fb2c903492517a2f6b5b3775b4d9aa42;p=GitHub%2FWoltLab%2FWCF.git Remove obsolete PACKAGE_ID check in ImportCLICommand --- 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 @@ -