From db5f9c53b6fd8af7370afbd0d315dfba6c50db72 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 8 Oct 2021 16:59:19 +0200 Subject: [PATCH] Remove trailing whitespace and unused imports --- wcfsetup/install/files/lib/acp/form/DataImportForm.class.php | 1 - .../files/lib/system/cli/command/ImportCLICommand.class.php | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/DataImportForm.class.php b/wcfsetup/install/files/lib/acp/form/DataImportForm.class.php index f977f0f630..6925e12d0f 100644 --- a/wcfsetup/install/files/lib/acp/form/DataImportForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/DataImportForm.class.php @@ -6,7 +6,6 @@ use wcf\data\application\Application; use wcf\data\object\type\ObjectTypeCache; use wcf\form\AbstractForm; use wcf\system\application\ApplicationHandler; -use wcf\system\database\DatabaseException; use wcf\system\exception\IllegalLinkException; use wcf\system\exception\UserInputException; use wcf\system\importer\UserImporter; 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 13c304321e..90b9d5497a 100644 --- a/wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php +++ b/wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php @@ -5,7 +5,6 @@ namespace wcf\system\cli\command; use wcf\data\object\type\ObjectType; use wcf\data\object\type\ObjectTypeCache; use wcf\system\CLIWCF; -use wcf\system\database\DatabaseException; use wcf\system\importer\ImportHandler; use wcf\system\importer\UserImporter; use wcf\system\WCF; @@ -252,7 +251,7 @@ class ImportCLICommand implements ICLICommand do { $exceptions[] = $e; } while ($e = $e->getPrevious()); - + $errorMessage = WCF::getLanguage()->getDynamicVariable( 'wcf.acp.dataImport.configure.database.error.exception', [ -- 2.20.1