Fix XSD filenames generated by PIP GUI (#3038)
authorFabii547 <Fabii547@users.noreply.github.com>
Sat, 17 Aug 2019 12:14:30 +0000 (14:14 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 17 Aug 2019 12:14:30 +0000 (14:14 +0200)
wcfsetup/install/files/lib/system/package/plugin/ACPMenuPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/ACPSearchProviderPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php

index 6b4b1c352fb3cac444858e3047bc34a615d2b097..e928841c25c527465696bb99f64004d85667a030 100644 (file)
@@ -45,6 +45,14 @@ class ACPMenuPackageInstallationPlugin extends AbstractMenuPackageInstallationPl
                return 'acpMenu.xml';
        }
        
+       /**
+        * @inheritDoc
+        * @since       5.2
+        */
+       protected function getXsdFilename() {
+               return 'acpMenu';
+       }
+       
        /**
         * @inheritDoc
         * @since       5.2
index 2204fe9502011db5611c95c03df6288607214da4..243539f0acb9ee29899114251b7c6b032411945b 100644 (file)
@@ -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
index 8330bd2586ecf4c7c862ff9e6a7db2e1b545e1e0..aa3771f4587eb059942f59ad84c5bd42e1082591 100644 (file)
@@ -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