From 013d21a83649e7a9c36aaaf8f4b96ae529c6c0e1 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 25 Mar 2016 16:55:55 +0100 Subject: [PATCH] Remove unused/redundant imports --- .../files/lib/acp/form/PackageStartInstallForm.class.php | 3 --- .../install/files/lib/acp/form/TemplateGroupEditForm.class.php | 1 - wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php | 1 - .../install/files/lib/acp/page/ExceptionLogViewPage.class.php | 1 - wcfsetup/install/files/lib/action/AJAXProxyAction.class.php | 1 - .../install/files/lib/action/PaypalCallbackAction.class.php | 1 - .../files/lib/data/application/ApplicationAction.class.php | 2 -- .../files/lib/data/attachment/AttachmentAction.class.php | 2 -- wcfsetup/install/files/lib/data/page/Page.class.php | 1 - wcfsetup/install/files/lib/data/sitemap/Sitemap.class.php | 1 - wcfsetup/install/files/lib/data/style/StyleAction.class.php | 1 - wcfsetup/install/files/lib/data/user/User.class.php | 1 - wcfsetup/install/files/lib/data/user/UserAction.class.php | 1 - .../install/files/lib/data/user/UserBirthdayAction.class.php | 2 -- .../files/lib/data/user/group/UserGroupEditor.class.php | 1 - .../files/lib/data/user/ignore/UserIgnoreAction.class.php | 2 -- wcfsetup/install/files/lib/form/MessageForm.class.php | 2 +- .../system/attachment/AbstractAttachmentObjectType.class.php | 1 - .../lib/system/background/BackgroundQueueHandler.class.php | 1 - .../user/ExportMailAddressUserBulkProcessingAction.class.php | 1 - .../files/lib/system/cache/builder/MenuCacheBuilder.class.php | 1 - .../lib/system/cache/builder/OptionCacheBuilder.class.php | 1 - .../system/cache/builder/UserBirthdayCacheBuilder.class.php | 1 - .../files/lib/system/cache/source/RedisCacheSource.class.php | 1 - .../files/lib/system/category/SmileyCategoryType.class.php | 1 - .../files/lib/system/cli/command/HelpCLICommand.class.php | 3 --- .../lib/system/condition/AbstractTimestampCondition.class.php | 2 -- .../files/lib/system/database/DatabaseException.class.php | 1 - .../files/lib/system/email/mime/HtmlTextMimePart.class.php | 2 -- .../files/lib/system/email/mime/PlainTextMimePart.class.php | 2 -- .../lib/system/email/mime/RecipientAwareTextMimePart.class.php | 1 - .../files/lib/system/exception/LoggedException.class.php | 3 --- .../files/lib/system/exception/SystemException.class.php | 3 --- .../install/files/lib/system/language/I18nHandler.class.php | 1 - .../install/files/lib/system/mail/DebugMailSender.class.php | 1 - wcfsetup/install/files/lib/system/menu/acp/ACPMenu.class.php | 1 - .../lib/system/menu/user/profile/UserProfileMenu.class.php | 1 - .../option/AbstractCategoryMultiSelectOptionType.class.php | 1 - .../files/lib/system/package/PackageUpdateDispatcher.class.php | 1 - .../files/lib/system/recaptcha/RecaptchaHandlerV2.class.php | 1 - .../install/files/lib/system/request/ControllerMap.class.php | 1 - .../install/files/lib/system/request/FlexibleRoute.class.php | 1 - .../install/files/lib/system/request/LinkHandler.class.php | 2 +- .../install/files/lib/system/request/RequestHandler.class.php | 1 - .../lib/system/request/route/DynamicRequestRoute.class.php | 3 --- .../install/files/lib/system/style/StyleCompiler.class.php | 2 +- .../lib/system/template/TemplateScriptingCompiler.class.php | 1 - .../lib/system/upload/DefaultUploadFileSaveStrategy.class.php | 1 - .../event/ProfileCommentResponseUserActivityEvent.class.php | 1 - .../activity/event/ProfileCommentUserActivityEvent.class.php | 1 - .../event/UserProfileCommentUserNotificationEvent.class.php | 2 -- .../files/lib/system/user/storage/UserStorageHandler.class.php | 1 - 52 files changed, 3 insertions(+), 70 deletions(-) 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 @@