aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-07-05 21:21:00 -0400
committercash <cash.costello@gmail.com>2013-07-05 21:21:00 -0400
commitc301e22224db8b064c1de68799b8e49cc1259e2e (patch)
treeec8a74126f424c1936efe13b9463d69ce29cf249 /engine
parent217c51eb6bbf754570cc9347a031b72927bcc985 (diff)
downloadelgg-c301e22224db8b064c1de68799b8e49cc1259e2e.tar.gz
elgg-c301e22224db8b064c1de68799b8e49cc1259e2e.tar.bz2
Refs #5662 added error message for what should be impossible condition
Diffstat (limited to 'engine')
-rw-r--r--engine/classes/ElggPlugin.php2
-rw-r--r--engine/classes/ElggPluginPackage.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/engine/classes/ElggPlugin.php b/engine/classes/ElggPlugin.php
index 3cc90f623..7bf6eb1df 100644
--- a/engine/classes/ElggPlugin.php
+++ b/engine/classes/ElggPlugin.php
@@ -549,7 +549,7 @@ class ElggPlugin extends ElggObject {
* Returns if the plugin is complete, meaning has all required files
* and Elgg can read them and they make sense.
*
- * @todo bad name? This could be confused with isValid() from ElggPackage.
+ * @todo bad name? This could be confused with isValid() from ElggPluginPackage.
*
* @return bool
*/
diff --git a/engine/classes/ElggPluginPackage.php b/engine/classes/ElggPluginPackage.php
index 209242288..37eb4bf4d 100644
--- a/engine/classes/ElggPluginPackage.php
+++ b/engine/classes/ElggPluginPackage.php
@@ -294,6 +294,7 @@ class ElggPluginPackage {
return true;
}
+ $this->errorMsg = elgg_echo('unknown_error');
return false;
}