]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #2759: Added elgg_version to 1.7 manifest parser.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 5 Jan 2011 04:33:31 +0000 (04:33 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 5 Jan 2011 04:33:31 +0000 (04:33 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7837 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/classes/ElggPluginManifestParser17.php

index eb7ccadc10fe10c47bb26fb4e7cee8b7df262fc1..0ca2d65111622521dc63525b478e950d6dd978a2 100644 (file)
@@ -12,7 +12,7 @@ class ElggPluginManifestParser17 extends ElggPluginManifestParser {
         */
        protected $validAttributes = array(
                'author', 'version', 'description', 'website',
-               'copyright', 'license', 'elgg_version',
+               'copyright', 'license', 'licence', 'elgg_version',
 
                // were never really used and not enforced in code.
                'requires', 'recommends', 'conflicts',
@@ -53,7 +53,7 @@ class ElggPluginManifestParser17 extends ElggPluginManifestParser {
                if ($elements && !array_key_exists('name', $elements)) {
                        $elements['name'] = $this->caller->getName();
                }
-               
+
                $this->manifest = $elements;
 
                if (!$this->manifest) {