From 6e9acece4434a19ae1339d4616832487d5ed3339 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 12 Mar 2014 16:13:13 +0100 Subject: [PATCH] Fixed a few class name references, replaces #1600 Fixes #1587 Fixes #1588 Fixes #1589 --- wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php | 4 ++-- .../system/package/PackageInstallationFormManager.class.php | 2 +- .../plugin/AbstractXMLPackageInstallationPlugin.class.php | 4 ++-- .../package/plugin/CronjobPackageInstallationPlugin.class.php | 4 ++-- wcfsetup/install/files/lib/util/DirectoryUtil.class.php | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php b/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php index 75fe6a6735..de694712b8 100755 --- a/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php @@ -7,7 +7,7 @@ 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\system\WCF; use wcf\util\ArrayUtil; use wcf\util\HeaderUtil; use wcf\util\StringUtil; @@ -16,7 +16,7 @@ use wcf\util\StringUtil; * Shows the user search form. * * @author Marcel Werk - * @copyright 2001-2013 WoltLab GmbH + * @copyright 2001-2014 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage acp.form diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationFormManager.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationFormManager.class.php index 9db0f1936d..a0a611fdee 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationFormManager.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationFormManager.class.php @@ -1,5 +1,5 @@ * @package com.woltlab.wcf * @subpackage system.package.plugin @@ -181,7 +181,7 @@ abstract class AbstractXMLPackageInstallationPlugin extends AbstractPackageInsta * @param array $elements * @param \DOMElement $element */ - protected function getElement(\DOMXpath $xpath, array &$elements, \DOMElement $element) { + protected function getElement(\DOMXPath $xpath, array &$elements, \DOMElement $element) { $elements[$element->tagName] = $element->nodeValue; } diff --git a/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php index 0ba1a86d46..4bd510117a 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php @@ -7,7 +7,7 @@ use wcf\util\CronjobUtil; * Installs, updates and deletes cronjobs. * * @author Alexander Ebert - * @copyright 2001-2013 WoltLab GmbH + * @copyright 2001-2014 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage acp.package.plugin @@ -22,7 +22,7 @@ class CronjobPackageInstallationPlugin extends AbstractXMLPackageInstallationPlu /** * @see \wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::getElement() */ - protected function getElement(\DOMXpath $xpath, array &$elements, \DOMElement $element) { + protected function getElement(\DOMXPath $xpath, array &$elements, \DOMElement $element) { if ($element->tagName == 'description') { if (!isset($elements['description'])) { $elements['description'] = array(); diff --git a/wcfsetup/install/files/lib/util/DirectoryUtil.class.php b/wcfsetup/install/files/lib/util/DirectoryUtil.class.php index 2a78aa4bfb..b3ddd0561b 100644 --- a/wcfsetup/install/files/lib/util/DirectoryUtil.class.php +++ b/wcfsetup/install/files/lib/util/DirectoryUtil.class.php @@ -243,7 +243,7 @@ final class DirectoryUtil { } // add the directory itself - $this->fileObjects[$this->directory] = new \SPLFileInfo($this->directory); + $this->fileObjects[$this->directory] = new \SplFileInfo($this->directory); } /** -- 2.20.1