From 8596cb7582825bb1ba13af4b8f4c066281f31669 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 12 Aug 2016 21:36:38 +0200 Subject: [PATCH] Fixed SystemException namespace --- .../plugin/ACPTemplatePackageInstallationPlugin.class.php | 3 ++- .../package/plugin/FilePackageInstallationPlugin.class.php | 3 ++- .../package/plugin/SQLPackageInstallationPlugin.class.php | 2 +- .../package/plugin/TemplatePackageInstallationPlugin.class.php | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) 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; } -- 2.20.1