From: Matthias Schmidt Date: Sat, 23 May 2015 11:24:01 +0000 (+0200) Subject: Fix variable name X-Git-Tag: 3.0.0_Beta_1~2334 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=775438ba8ff3cd71a1891b1f46d40d4255f14220;p=GitHub%2FWoltLab%2FWCF.git Fix variable name --- 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 74979841d5..8ae0a035e5 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/ACPTemplatePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/ACPTemplatePackageInstallationPlugin.class.php @@ -92,7 +92,7 @@ class ACPTemplatePackageInstallationPlugin extends AbstractPackageInstallationPl */ public static function isValid(PackageArchive $archive, $instruction) { if (!$instruction) { - $defaultFilename = static::getDefaultFilename(); + $instruction = static::getDefaultFilename(); } if (preg_match('~\.(tar(\.gz)?|tgz)$~', $instruction)) { 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 73da12f5b8..c41c485ae8 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php @@ -120,7 +120,7 @@ class FilePackageInstallationPlugin extends AbstractPackageInstallationPlugin { */ public static function isValid(PackageArchive $archive, $instruction) { if (!$instruction) { - $defaultFilename = static::getDefaultFilename(); + $instruction = static::getDefaultFilename(); } if (preg_match('~\.(tar(\.gz)?|tgz)$~', $instruction)) { 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 59093ebb34..29516a2d1a 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/SQLPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/SQLPackageInstallationPlugin.class.php @@ -164,7 +164,7 @@ class SQLPackageInstallationPlugin extends AbstractPackageInstallationPlugin { */ public static function isValid(PackageArchive $archive, $instruction) { if (!$instruction) { - $defaultFilename = static::getDefaultFilename(); + $instruction = static::getDefaultFilename(); } if (preg_match('~\.sql$~', $instruction)) { 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 168dc0bdeb..9f70529b24 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/TemplatePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/TemplatePackageInstallationPlugin.class.php @@ -94,7 +94,7 @@ class TemplatePackageInstallationPlugin extends AbstractPackageInstallationPlugi */ public static function isValid(PackageArchive $archive, $instruction) { if (!$instruction) { - $defaultFilename = static::getDefaultFilename(); + $instruction = static::getDefaultFilename(); } if (preg_match('~\.(tar(\.gz)?|tgz)$~', $instruction)) {