aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggPluginManifestParser18.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-06 15:23:01 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-06 15:23:01 +0000
commit4b2684e36e226315c5bd4b93f49ab2a5fc121303 (patch)
treef9927c38da56d274dcf732fda2df05896d0749e5 /engine/classes/ElggPluginManifestParser18.php
parent28bb5ab4b12170f7831d584c809e202e07b55a19 (diff)
downloadelgg-4b2684e36e226315c5bd4b93f49ab2a5fc121303.tar.gz
elgg-4b2684e36e226315c5bd4b93f49ab2a5fc121303.tar.bz2
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
Diffstat (limited to 'engine/classes/ElggPluginManifestParser18.php')
-rw-r--r--engine/classes/ElggPluginManifestParser18.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/classes/ElggPluginManifestParser18.php b/engine/classes/ElggPluginManifestParser18.php
index 54aa9603f..9a4cfb2b7 100644
--- a/engine/classes/ElggPluginManifestParser18.php
+++ b/engine/classes/ElggPluginManifestParser18.php
@@ -91,7 +91,9 @@ class ElggPluginManifestParser18 extends ElggPluginManifestParser {
}
}
- if (!$this->manifest = $parsed) {
+ $this->manifest = $parsed;
+
+ if (!$this->manifest) {
return false;
}