From 6b63ee9aa1253d3dc743bef59ba2261327163d8f Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 5 Jan 2013 13:27:41 +0100 Subject: [PATCH] Further CodeSniffer adaptions --- .../package/PackageInstallationDispatcher.class.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php index 370742808a..a66dc2729f 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php @@ -20,7 +20,6 @@ use wcf\system\form\container\MultipleSelectionFormElementContainer; use wcf\system\form\element\MultipleSelectionFormElement; use wcf\system\form\element\TextInputFormElement; use wcf\system\form\FormDocument; -use wcf\system\form; use wcf\system\language\LanguageFactory; use wcf\system\package\plugin\IPackageInstallationPlugin; use wcf\system\package\plugin\ObjectTypePackageInstallationPlugin; @@ -316,7 +315,7 @@ class PackageInstallationDispatcher { if ($this->getPackage()->isApplication && $this->getPackage()->package != 'com.woltlab.wcf' && $this->getAction() == 'install') { if (empty($this->getPackage()->packageDir)) { $document = $this->promptPackageDir(); - if ($document !== null && $document instanceof form\FormDocument) { + if ($document !== null && $document instanceof FormDocument) { $installationStep->setDocument($document); } @@ -487,7 +486,7 @@ class PackageInstallationDispatcher { $installationStep = new PackageInstallationStep(); $document = $this->promptOptionalPackages($nodeData); - if ($document !== null && $document instanceof form\FormDocument) { + if ($document !== null && $document instanceof FormDocument) { $installationStep->setDocument($document); $installationStep->setSplitNode(); } @@ -574,7 +573,7 @@ class PackageInstallationDispatcher { $packageDir->setValue($defaultPath); $container->appendChild($packageDir); - $document = new form\FormDocument('packageDir'); + $document = new FormDocument('packageDir'); $document->appendContainer($container); PackageInstallationFormManager::registerForm($this->queue, $document); @@ -644,7 +643,7 @@ class PackageInstallationDispatcher { $container->appendChild($optionalPackage); } - $document = new form\FormDocument('optionalPackages'); + $document = new FormDocument('optionalPackages'); $document->appendContainer($container); PackageInstallationFormManager::registerForm($this->queue, $document); -- 2.20.1