From: Matthias Schmidt Date: Fri, 25 Mar 2016 15:55:55 +0000 (+0100) Subject: Remove unused/redundant imports X-Git-Tag: 3.0.0_Beta_1~1286^2~48 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=013d21a83649e7a9c36aaaf8f4b96ae529c6c0e1;p=GitHub%2FWoltLab%2FWCF.git Remove unused/redundant imports --- diff --git a/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php b/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php index 00b03b085a..2e96317adb 100755 --- a/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php @@ -4,16 +4,13 @@ use wcf\data\package\installation\queue\PackageInstallationQueue; use wcf\data\package\installation\queue\PackageInstallationQueueEditor; use wcf\form\AbstractForm; use wcf\system\exception\PermissionDeniedException; -use wcf\system\exception\SystemException; use wcf\system\exception\UserInputException; use wcf\system\package\validation\PackageValidationException; use wcf\system\package\validation\PackageValidationManager; -use wcf\system\package\PackageArchive; use wcf\system\package\PackageInstallationDispatcher; use wcf\system\WCF; use wcf\system\WCFACP; use wcf\util\FileUtil; -use wcf\util\StringUtil; /** * Shows the package install and update form. diff --git a/wcfsetup/install/files/lib/acp/form/TemplateGroupEditForm.class.php b/wcfsetup/install/files/lib/acp/form/TemplateGroupEditForm.class.php index 8dc7b33b4a..ba3d48c2d0 100644 --- a/wcfsetup/install/files/lib/acp/form/TemplateGroupEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/TemplateGroupEditForm.class.php @@ -2,7 +2,6 @@ namespace wcf\acp\form; use wcf\data\template\group\TemplateGroup; use wcf\data\template\group\TemplateGroupAction; -use wcf\data\template\group\TemplateGroupList; use wcf\form\AbstractForm; use wcf\system\exception\IllegalLinkException; use wcf\system\WCF; diff --git a/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php b/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php index fe5edc206a..526d6d34bb 100755 --- a/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php @@ -6,7 +6,6 @@ use wcf\data\user\UserList; use wcf\form\AbstractForm; use wcf\system\event\EventHandler; use wcf\system\exception\UserInputException; -use wcf\system\language\LanguageFactory; use wcf\system\request\LinkHandler; use wcf\system\WCF; use wcf\util\HeaderUtil; diff --git a/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php b/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php index 4a59fa2d57..315cf89120 100644 --- a/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php @@ -7,7 +7,6 @@ use wcf\system\exception\IllegalLinkException; use wcf\system\Regex; use wcf\system\WCF; use wcf\util\DirectoryUtil; -use wcf\util\JSON; use wcf\util\StringUtil; /** diff --git a/wcfsetup/install/files/lib/action/AJAXProxyAction.class.php b/wcfsetup/install/files/lib/action/AJAXProxyAction.class.php index cc5f449343..0d5ebddf11 100644 --- a/wcfsetup/install/files/lib/action/AJAXProxyAction.class.php +++ b/wcfsetup/install/files/lib/action/AJAXProxyAction.class.php @@ -1,6 +1,5 @@ text = $htmlInputProcessor->process($this->text); // parse URLs - /* + /* TODO if ($this->preParse == 1) { // BBCodes are enabled if ($this->enableBBCodes) { diff --git a/wcfsetup/install/files/lib/system/attachment/AbstractAttachmentObjectType.class.php b/wcfsetup/install/files/lib/system/attachment/AbstractAttachmentObjectType.class.php index 0c3a354a12..a5e3f1737b 100644 --- a/wcfsetup/install/files/lib/system/attachment/AbstractAttachmentObjectType.class.php +++ b/wcfsetup/install/files/lib/system/attachment/AbstractAttachmentObjectType.class.php @@ -1,6 +1,5 @@ getLandingPage()->getProcessor()->getLink(); + return '';// TODO: PageMenu::getInstance()->getLandingPage()->getProcessor()->getLink(); } } diff --git a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php index b601080418..8985988808 100644 --- a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php @@ -5,7 +5,6 @@ use wcf\system\exception\AJAXException; use wcf\system\exception\IllegalLinkException; use wcf\system\exception\NamedUserException; use wcf\system\exception\SystemException; -use wcf\system\menu\page\PageMenu; use wcf\system\SingletonFactory; use wcf\system\WCF; use wcf\util\FileUtil; diff --git a/wcfsetup/install/files/lib/system/request/route/DynamicRequestRoute.class.php b/wcfsetup/install/files/lib/system/request/route/DynamicRequestRoute.class.php index c322567319..0473ad60d6 100644 --- a/wcfsetup/install/files/lib/system/request/route/DynamicRequestRoute.class.php +++ b/wcfsetup/install/files/lib/system/request/route/DynamicRequestRoute.class.php @@ -1,10 +1,7 @@