From 4b2684e36e226315c5bd4b93f49ab2a5fc121303 Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 6 Dec 2010 15:23:01 +0000 Subject: Renamed 'elgg' manifest requirment to 'elgg_version' to be more in line with the current options. Removed assignments in if statements. 1.7 manifest files properly show elgg_version as a requirement. git-svn-id: http://code.elgg.org/elgg/trunk@7550 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggPluginManifestParser17.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engine/classes/ElggPluginManifestParser17.php') diff --git a/engine/classes/ElggPluginManifestParser17.php b/engine/classes/ElggPluginManifestParser17.php index f439b5af0..8e4a79e4f 100644 --- a/engine/classes/ElggPluginManifestParser17.php +++ b/engine/classes/ElggPluginManifestParser17.php @@ -45,7 +45,9 @@ class ElggPluginManifestParser17 extends ElggPluginManifestParser { } } - if (!$this->manifest = $elements) { + $this->manifest = $elements; + + if (!$this->manifest) { return false; } -- cgit v1.2.3