From: Marcel Werk Date: Fri, 12 Aug 2016 19:36:38 +0000 (+0200) Subject: Fixed SystemException namespace X-Git-Tag: 3.0.0_Beta_1~758 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8596cb7582825bb1ba13af4b8f4c066281f31669;p=GitHub%2FWoltLab%2FWCF.git Fixed SystemException namespace --- 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 e22b813f6e..f68de2865e 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; @@ -102,7 +103,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/FilePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php index 51e5f1d1e3..52830a1430 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; @@ -121,7 +122,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 563a280ed9..c9a31dce82 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/SQLPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/SQLPackageInstallationPlugin.class.php @@ -175,7 +175,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 5faadfb505..6cc1b8dbe9 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; @@ -104,7 +105,7 @@ class TemplatePackageInstallationPlugin extends AbstractPackageInstallationPlugi return false; } } - catch (\SystemException $e) { + catch (SystemException $e) { return false; }