From: Marcel Werk Date: Sat, 13 Aug 2016 08:22:36 +0000 (+0200) Subject: Fixed SystemException namespace X-Git-Tag: 3.0.0_Beta_1~117^2~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1d7d880180852e7d86e4a78edc6e83e86ce18019;p=GitHub%2FWoltLab%2FWCF.git Fixed SystemException namespace Closes #2076 --- diff --git a/wcfsetup/install/files/lib/system/package/plugin/ACPTemplatePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/ACPTemplatePackageInstallationPlugin.class.php index a664b534ff..a2d30ad3e6 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/ACPTemplatePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/ACPTemplatePackageInstallationPlugin.class.php @@ -2,6 +2,7 @@ namespace wcf\system\package\plugin; use wcf\data\application\Application; use wcf\data\package\Package; +use wcf\system\exception\SystemException; use wcf\system\package\ACPTemplatesFileHandler; use wcf\system\package\PackageArchive; use wcf\system\WCF; @@ -91,7 +92,7 @@ class ACPTemplatePackageInstallationPlugin extends AbstractPackageInstallationPl return false; } } - catch (\SystemException $e) { + catch (SystemException $e) { return false; } diff --git a/wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php index aa78b75af4..6a4a8ea6b2 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php @@ -357,7 +357,7 @@ abstract class AbstractXMLPackageInstallationPlugin extends AbstractPackageInsta return false; } } - catch (\SystemException $e) { + catch (SystemException $e) { return false; } diff --git a/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php index 93361ea919..3323130a3d 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php @@ -2,6 +2,7 @@ namespace wcf\system\package\plugin; use wcf\data\application\Application; use wcf\data\package\Package; +use wcf\system\exception\SystemException; use wcf\system\package\FilesFileHandler; use wcf\system\package\PackageArchive; use wcf\system\package\PackageInstallationDispatcher; @@ -119,7 +120,7 @@ class FilePackageInstallationPlugin extends AbstractPackageInstallationPlugin { return false; } } - catch (\SystemException $e) { + catch (SystemException $e) { return false; } diff --git a/wcfsetup/install/files/lib/system/package/plugin/SQLPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/SQLPackageInstallationPlugin.class.php index 742ef1df8d..6d3e79b846 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/SQLPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/SQLPackageInstallationPlugin.class.php @@ -163,7 +163,7 @@ class SQLPackageInstallationPlugin extends AbstractPackageInstallationPlugin { return false; } } - catch (\SystemException $e) { + catch (SystemException $e) { return false; } diff --git a/wcfsetup/install/files/lib/system/package/plugin/TemplatePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/TemplatePackageInstallationPlugin.class.php index e4f968c4fa..e520cf2532 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/TemplatePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/TemplatePackageInstallationPlugin.class.php @@ -2,6 +2,7 @@ namespace wcf\system\package\plugin; use wcf\data\application\Application; use wcf\data\package\Package; +use wcf\system\exception\SystemException; use wcf\system\package\PackageArchive; use wcf\system\package\TemplatesFileHandler; use wcf\system\WCF; @@ -93,7 +94,7 @@ class TemplatePackageInstallationPlugin extends AbstractPackageInstallationPlugi return false; } } - catch (\SystemException $e) { + catch (SystemException $e) { return false; }