From 252c054437ac1d3ad43aca1e71ebb936b55d60d2 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 5 Jan 2011 04:33:31 +0000 Subject: 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 --- engine/classes/ElggPluginManifestParser17.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine') 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) { -- cgit v1.2.3