From fd0e516053e5427713c00df01cf540322335d54b Mon Sep 17 00:00:00 2001 From: Fabii547 Date: Sat, 17 Aug 2019 14:14:30 +0200 Subject: [PATCH] Fix XSD filenames generated by PIP GUI (#3038) --- .../plugin/ACPMenuPackageInstallationPlugin.class.php | 8 ++++++++ .../ACPSearchProviderPackageInstallationPlugin.class.php | 8 ++++++++ .../plugin/BBCodePackageInstallationPlugin.class.php | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/wcfsetup/install/files/lib/system/package/plugin/ACPMenuPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/ACPMenuPackageInstallationPlugin.class.php index 6b4b1c352f..e928841c25 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/ACPMenuPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/ACPMenuPackageInstallationPlugin.class.php @@ -45,6 +45,14 @@ class ACPMenuPackageInstallationPlugin extends AbstractMenuPackageInstallationPl return 'acpMenu.xml'; } + /** + * @inheritDoc + * @since 5.2 + */ + protected function getXsdFilename() { + return 'acpMenu'; + } + /** * @inheritDoc * @since 5.2 diff --git a/wcfsetup/install/files/lib/system/package/plugin/ACPSearchProviderPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/ACPSearchProviderPackageInstallationPlugin.class.php index 2204fe9502..243539f0ac 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/ACPSearchProviderPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/ACPSearchProviderPackageInstallationPlugin.class.php @@ -139,6 +139,14 @@ class ACPSearchProviderPackageInstallationPlugin extends AbstractXMLPackageInsta return $element->getAttribute('name'); } + /** + * @inheritDoc + * @since 5.2 + */ + protected function getXsdFilename() { + return 'acpSearchProvider'; + } + /** * @inheritDoc * @since 5.2 diff --git a/wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php index 8330bd2586..aa3771f458 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php @@ -316,6 +316,14 @@ class BBCodePackageInstallationPlugin extends AbstractXMLPackageInstallationPlug return $element->getAttribute('name'); } + /** + * @inheritDoc + * @since 5.2 + */ + protected function getXsdFilename() { + return 'bbcode'; + } + /** * @inheritDoc * @since 5.2 -- 2.20.1