diff --git a/administrator/components/com_jedchecker/libraries/rules/xmlmanifest.php b/administrator/components/com_jedchecker/libraries/rules/xmlmanifest.php index 5d4f119..6687429 100644 --- a/administrator/components/com_jedchecker/libraries/rules/xmlmanifest.php +++ b/administrator/components/com_jedchecker/libraries/rules/xmlmanifest.php @@ -92,15 +92,6 @@ class JedcheckerRulesXMLManifest extends JEDcheckerRule 'module', 'package', 'plugin', 'template' ); - /** - * List of JED extension types - * - * @var string[] - */ - protected $jedTypes = array( - 'component', 'module', 'package', 'plugin' - ); - /** * Initiates the search and check * @@ -153,12 +144,6 @@ class JedcheckerRulesXMLManifest extends JEDcheckerRule return true; } - // JED allows components, modules, plugins, and packages (as a container) only - if (!in_array($type, $this->jedTypes, true)) - { - $this->report->addError($file, JText::sprintf('COM_JEDCHECKER_MANIFEST_TYPE_NOT_ACCEPTED', $type)); - } - // Load DTD-like data for this extension type $jsonFilename = __DIR__ . '/xmlmanifest/dtd_' . $type . '.json';