diff options
| author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-05 04:33:31 +0000 | 
|---|---|---|
| committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-05 04:33:31 +0000 | 
| commit | 252c054437ac1d3ad43aca1e71ebb936b55d60d2 (patch) | |
| tree | 7744093b41610db85ceadb0b34815e97c1e2947c /engine/classes/ElggPluginManifestParser17.php | |
| parent | b5593cfaf0d560afe1f15ddb6b73507ccd75f896 (diff) | |
| download | elgg-252c054437ac1d3ad43aca1e71ebb936b55d60d2.tar.gz elgg-252c054437ac1d3ad43aca1e71ebb936b55d60d2.tar.bz2 | |
Refs #2759: Added elgg_version to 1.7 manifest parser.
git-svn-id: http://code.elgg.org/elgg/trunk@7837 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes/ElggPluginManifestParser17.php')
| -rw-r--r-- | engine/classes/ElggPluginManifestParser17.php | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/engine/classes/ElggPluginManifestParser17.php b/engine/classes/ElggPluginManifestParser17.php index eb7ccadc1..0ca2d6511 100644 --- a/engine/classes/ElggPluginManifestParser17.php +++ b/engine/classes/ElggPluginManifestParser17.php @@ -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) { | 
