From ec1b1daf0ec675115942a7bb732e6a05961b93e4 Mon Sep 17 00:00:00 2001 From: Torben Brodt Date: Tue, 31 Jan 2012 20:12:25 +0100 Subject: [PATCH] removed wrong namespaces, ordered use clauses alphabetically, marked missing classes with TODOs --- wcfsetup/install/files/acp/install.php | 2 +- .../lib/acp/action/InstallPackageAction.class.php | 2 +- .../files/lib/acp/action/LogoutAction.class.php | 2 +- .../lib/acp/action/UninstallPackageAction.class.php | 2 +- .../files/lib/acp/action/WorkerProxyAction.class.php | 2 +- wcfsetup/install/files/lib/acp/form/ACPForm.class.php | 2 +- .../files/lib/acp/form/CronjobAddForm.class.php | 2 +- .../files/lib/acp/form/CronjobEditForm.class.php | 2 +- .../install/files/lib/acp/form/LoginForm.class.php | 6 +++--- .../files/lib/acp/form/MasterPasswordForm.class.php | 2 +- .../install/files/lib/acp/form/OptionForm.class.php | 10 +++++----- .../files/lib/acp/form/OptionImportForm.class.php | 5 ++--- .../files/lib/acp/form/PackageUpdateAuthForm.class.php | 2 +- .../files/lib/acp/form/PackageUpdateForm.class.php | 4 ++-- .../lib/acp/form/PackageUpdateSearchForm.class.php | 4 ++-- .../install/files/lib/acp/form/UserAddForm.class.php | 6 +++--- .../files/lib/acp/form/UserAssignToGroupForm.class.php | 4 ++-- .../install/files/lib/acp/form/UserEditForm.class.php | 2 +- .../lib/acp/form/UserEmailAddressExportForm.class.php | 2 +- .../files/lib/acp/form/UserGroupAddForm.class.php | 8 ++++---- .../files/lib/acp/form/UserGroupEditForm.class.php | 2 +- .../install/files/lib/acp/form/UserMailForm.class.php | 8 ++++---- .../files/lib/acp/form/UserSearchForm.class.php | 2 +- .../lib/acp/form/UsersMassProcessingForm.class.php | 4 ++-- .../files/lib/acp/page/ACPSessionLogListPage.class.php | 2 +- .../files/lib/acp/page/ACPSessionLogPage.class.php | 4 ++-- .../install/files/lib/acp/page/CacheListPage.class.php | 8 ++++---- .../files/lib/acp/page/CronjobListPage.class.php | 4 ++-- .../files/lib/acp/page/CronjobLogListPage.class.php | 4 ++-- .../install/files/lib/acp/page/IndexPage.class.php | 4 ++-- .../lib/acp/page/PackageAutoUpdateListPage.class.php | 2 +- .../lib/acp/page/PackageListDetailedPage.class.php | 2 +- .../files/lib/acp/page/PackageListPage.class.php | 2 +- .../install/files/lib/acp/page/PackagePage.class.php | 6 +++--- .../acp/page/PackageUpdateSearchResultPage.class.php | 4 ++-- .../files/lib/acp/page/PackageViewPage.class.php | 4 ++-- .../files/lib/acp/page/UpdateServerListPage.class.php | 2 +- .../files/lib/acp/page/UserGroupListPage.class.php | 2 +- .../install/files/lib/acp/page/UserListPage.class.php | 4 ++-- .../install/files/lib/action/AbstractAction.class.php | 2 +- .../files/lib/action/AbstractSecureAction.class.php | 2 +- .../install/files/lib/action/ClipboardAction.class.php | 2 +- .../lib/data/AbstractDatabaseObjectAction.class.php | 2 +- .../files/lib/data/DatabaseObjectDecorator.class.php | 2 +- .../files/lib/data/DatabaseObjectList.class.php | 2 +- .../lib/data/acp/template/ACPTemplateAction.class.php | 2 +- .../install/files/lib/data/cronjob/Cronjob.class.php | 2 +- .../files/lib/data/cronjob/CronjobAction.class.php | 2 +- .../files/lib/data/cronjob/CronjobEditor.class.php | 2 +- .../files/lib/data/language/LanguageAction.class.php | 2 +- .../files/lib/data/language/LanguageEditor.class.php | 4 ++-- .../language/category/LanguageCategoryAction.class.php | 2 +- .../data/language/item/LanguageItemAction.class.php | 2 +- .../lib/data/object/type/ObjectTypeCache.class.php | 2 +- .../install/files/lib/data/option/Option.class.php | 2 +- .../files/lib/data/option/OptionAction.class.php | 2 +- .../files/lib/data/option/OptionEditor.class.php | 2 +- .../option/category/OptionCategoryAction.class.php | 2 +- .../install/files/lib/data/package/Package.class.php | 2 +- .../files/lib/data/package/PackageCache.class.php | 2 +- .../queue/PackageInstallationQueueAction.class.php | 2 +- .../update/server/PackageUpdateServer.class.php | 2 +- .../update/server/PackageUpdateServerAction.class.php | 2 +- .../lib/data/page/menu/item/PageMenuItem.class.php | 2 +- .../data/page/menu/item/PageMenuItemEditor.class.php | 2 +- .../install/files/lib/data/style/ActiveStyle.class.php | 2 +- .../install/files/lib/data/style/StyleEditor.class.php | 10 +++++----- .../install/files/lib/data/template/Template.class.php | 2 +- .../files/lib/data/template/TemplateAction.class.php | 2 +- .../files/lib/data/template/TemplateEditor.class.php | 2 +- .../data/template/group/TemplateGroupAction.class.php | 2 +- .../data/template/group/TemplateGroupEditor.class.php | 2 +- wcfsetup/install/files/lib/data/user/User.class.php | 4 ++-- .../install/files/lib/data/user/UserAction.class.php | 2 +- .../files/lib/data/user/group/UserGroup.class.php | 2 +- .../lib/data/user/group/UserGroupEditor.class.php | 2 +- .../files/lib/data/user/option/UserOption.class.php | 2 +- .../lib/data/user/option/ViewableUserOption.class.php | 2 +- .../option/category/UserOptionCategoryList.class.php | 2 +- .../files/lib/form/AbstractSecureForm.class.php | 2 +- wcfsetup/install/files/lib/page/AbstractPage.class.php | 2 +- .../files/lib/page/AbstractSecurePage.class.php | 2 +- .../install/files/lib/page/MultipleLinkPage.class.php | 2 +- wcfsetup/install/files/lib/system/WCF.class.php | 2 +- wcfsetup/install/files/lib/system/WCFSetup.class.php | 4 ++-- .../system/application/AbstractApplication.class.php | 2 +- .../system/application/ApplicationHandler.class.php | 2 +- .../files/lib/system/cache/CacheHandler.class.php | 2 +- .../system/cache/builder/ACPMenuCacheBuilder.class.php | 2 +- .../cache/builder/ApplicationCacheBuilder.class.php | 2 +- .../cache/builder/ClipboardPageCacheBuilder.class.php | 2 +- .../system/cache/builder/CronjobCacheBuilder.class.php | 2 +- .../cache/builder/EventListenerCacheBuilder.class.php | 2 +- .../system/cache/builder/IconCacheBuilder.class.php | 2 +- .../cache/builder/LanguageCacheBuilder.class.php | 2 +- .../system/cache/builder/OptionCacheBuilder.class.php | 4 ++-- .../cache/builder/PageMenuCacheBuilder.class.php | 2 +- .../builder/UserGroupPermissionCacheBuilder.class.php | 2 +- .../lib/system/cache/source/DiskCacheSource.class.php | 6 +++--- .../lib/system/cache/source/MemcacheAdapter.class.php | 2 +- .../files/lib/system/cleanup/CleanupHandler.class.php | 2 +- .../lib/system/clipboard/ClipboardHandler.class.php | 4 ++-- .../clipboard/action/UserClipboardAction.class.php | 2 +- .../lib/system/cronjob/CronjobScheduler.class.php | 6 +++--- .../lib/system/cronjob/GetUpdateInfoCronjob.class.php | 2 +- .../cronjob/RefreshSearchRobotsCronjob.class.php | 2 +- .../files/lib/system/database/Database.class.php | 4 ++-- .../database/editor/MySQLDatabaseEditor.class.php | 2 +- .../database/statement/PreparedStatement.class.php | 2 +- .../files/lib/system/database/util/SQLParser.class.php | 2 +- .../files/lib/system/event/EventHandler.class.php | 2 +- .../files/lib/system/event/IEventListener.class.php | 1 - .../event/listener/SessionAccessLogListener.class.php | 2 +- .../files/lib/system/image/ImageHandler.class.php | 2 +- .../files/lib/system/language/I18nHandler.class.php | 4 ++-- .../lib/system/language/LanguageFactory.class.php | 6 +++--- .../system/language/LanguageServerProcessor.class.php | 4 ++-- .../install/files/lib/system/menu/TreeMenu.class.php | 2 +- .../files/lib/system/menu/acp/ACPMenu.class.php | 2 +- .../files/lib/system/menu/page/PageMenu.class.php | 4 ++-- .../lib/system/option/BooleanOptionType.class.php | 2 +- .../files/lib/system/option/DateOptionType.class.php | 2 +- .../lib/system/option/MultiSelectOptionType.class.php | 2 +- .../files/lib/system/option/OptionHandler.class.php | 4 ++-- .../lib/system/option/RadioButtonOptionType.class.php | 2 +- .../lib/system/option/TextI18nOptionType.class.php | 2 +- .../files/lib/system/option/TextOptionType.class.php | 4 +--- .../lib/system/option/TextareaI18nOptionType.class.php | 2 +- .../lib/system/option/TimezoneOptionType.class.php | 2 +- .../lib/system/option/user/IUserOptionOutput.class.php | 2 +- .../user/IUserOptionOutputContactInformation.class.php | 2 +- .../lib/system/option/user/UserOptionHandler.class.php | 4 ++-- .../system/package/ACPTemplatesFileHandler.class.php | 2 +- .../lib/system/package/FilesFileHandler.class.php | 2 +- .../files/lib/system/package/PackageArchive.class.php | 2 +- .../package/PackageInstallationDispatcher.class.php | 8 ++++---- .../package/PackageInstallationFormManager.class.php | 2 +- .../package/PackageInstallationNodeBuilder.class.php | 2 +- .../package/PackageInstallationSQLParser.class.php | 2 +- .../package/PackageInstallationScheduler.class.php | 4 ++-- .../package/PackageUninstallationDispatcher.class.php | 4 ++-- .../package/PackageUninstallationNodeBuilder.class.php | 2 +- .../system/package/PackageUpdateDispatcher.class.php | 2 +- .../ACPTemplatePackageInstallationPlugin.class.php | 2 +- .../AbstractMenuPackageInstallationPlugin.class.php | 2 +- .../AbstractOptionPackageInstallationPlugin.class.php | 2 +- .../plugin/AbstractPackageInstallationPlugin.class.php | 2 +- .../AbstractXMLPackageInstallationPlugin.class.php | 2 +- .../CoreObjectPackageInstallationPlugin.class.php | 2 +- .../EventListenerPackageInstallationPlugin.class.php | 2 +- .../plugin/FilePackageInstallationPlugin.class.php | 4 ++-- .../plugin/LanguagePackageInstallationPlugin.class.php | 2 +- .../ObjectTypePackageInstallationPlugin.class.php | 2 +- .../plugin/OptionPackageInstallationPlugin.class.php | 2 +- .../plugin/PIPPackageInstallationPlugin.class.php | 2 +- .../plugin/SQLPackageInstallationPlugin.class.php | 4 ++-- .../plugin/StylePackageInstallationPlugin.class.php | 2 +- ...TemplateListenerPackageInstallationPlugin.class.php | 2 +- .../plugin/TemplatePackageInstallationPlugin.class.php | 2 +- .../UserGroupOptionPackageInstallationPlugin.class.php | 4 ++-- .../UserOptionPackageInstallationPlugin.class.php | 6 +++--- .../lib/system/page/location/IPageLocation.class.php | 2 +- .../files/lib/system/request/LinkHandler.class.php | 2 +- .../files/lib/system/request/RequestHandler.class.php | 4 ++-- .../files/lib/system/request/RouteHandler.class.php | 2 +- .../files/lib/system/session/SessionHandler.class.php | 6 +++--- .../files/lib/system/style/StyleHandler.class.php | 4 ++-- .../files/lib/system/template/TemplateEngine.class.php | 6 +++--- .../plugin/AppendCompilerTemplatePlugin.class.php | 2 +- .../plugin/AssignCompilerTemplatePlugin.class.php | 2 +- .../plugin/EventPrefilterTemplatePlugin.class.php | 2 +- .../plugin/FetchCompilerTemplatePlugin.class.php | 2 +- .../plugin/ImplodeCompilerTemplatePlugin.class.php | 2 +- .../plugin/LangPrefilterTemplatePlugin.class.php | 2 +- .../plugin/LanguageModifierTemplatePlugin.class.php | 2 +- .../plugin/PagesFunctionTemplatePlugin.class.php | 2 +- .../plugin/PlainTimeModifierTemplatePlugin.class.php | 2 +- .../plugin/SmallpagesFunctionTemplatePlugin.class.php | 2 +- .../plugin/TimeModifierTemplatePlugin.class.php | 2 +- .../content/UserCollapsibleContentHandler.class.php | 2 +- .../system/user/storage/UserStorageHandler.class.php | 4 ++-- .../files/lib/system/worker/MailWorker.class.php | 2 +- wcfsetup/install/files/lib/util/DateUtil.class.php | 4 ++-- wcfsetup/install/files/lib/util/FileUtil.class.php | 4 ++-- 184 files changed, 254 insertions(+), 258 deletions(-) diff --git a/wcfsetup/install/files/acp/install.php b/wcfsetup/install/files/acp/install.php index 1706119b77..f3ad6b6474 100644 --- a/wcfsetup/install/files/acp/install.php +++ b/wcfsetup/install/files/acp/install.php @@ -1,10 +1,10 @@ checkPermissions(array('admin.system.package.canInstallPackage')); require_once(WCF_DIR.'lib/acp/package/PackageInstallationRollback.class.php'); - new PackageInstallationRollback($this->queueID); + new PackageInstallationRollback($this->queueID); // TODO: undefined class PackageInstallationRollback break; case 'openQueue': diff --git a/wcfsetup/install/files/lib/acp/page/PackageUpdateSearchResultPage.class.php b/wcfsetup/install/files/lib/acp/page/PackageUpdateSearchResultPage.class.php index 43f8be3cfc..84e345b9fd 100755 --- a/wcfsetup/install/files/lib/acp/page/PackageUpdateSearchResultPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/PackageUpdateSearchResultPage.class.php @@ -1,12 +1,12 @@