diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2011-10-30 12:00:12 -0700 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2011-10-30 12:00:12 -0700 |
commit | 3f9abf384029bf3fc899be2eead4e3121d20e331 (patch) | |
tree | cddfec4455313a67c414072aadd63e439dc910fd /engine | |
parent | a50dd81e3737d8dc14f4a700255b3a19c58988b1 (diff) | |
download | elgg-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.php | 2 |
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; |