aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-10-30 12:00:12 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-10-30 12:00:12 -0700
commit3f9abf384029bf3fc899be2eead4e3121d20e331 (patch)
treecddfec4455313a67c414072aadd63e439dc910fd /engine
parenta50dd81e3737d8dc14f4a700255b3a19c58988b1 (diff)
downloadelgg-3f9abf384029bf3fc899be2eead4e3121d20e331.tar.gz
elgg-3f9abf384029bf3fc899be2eead4e3121d20e331.tar.bz2
Fixes #2821. Plugins that are active and cannot be started emit an admin notice.
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/plugins.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index 86070a2aa..fac52b152 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -324,7 +324,7 @@ function elgg_load_plugins() {
$plugin->deactivate();
$msg = elgg_echo('PluginException:CannotStart',
array($plugin->getID(), $plugin->guid, $e->getMessage()));
- register_error($msg);
+ elgg_add_admin_notice('cannot_start' . $plugin->getID(), $msg);
$return = false;
continue;