From fe22ee87a5199b5ac9f736b5374f56ec909106ea Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Tue, 7 Feb 2012 07:50:19 -0500 Subject: Fixes #3613 added system message for admins when plugins are disabled --- engine/lib/plugins.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engine/lib/plugins.php') diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php index 70bfcb28b..123fb18d8 100644 --- a/engine/lib/plugins.php +++ b/engine/lib/plugins.php @@ -298,6 +298,9 @@ function elgg_load_plugins() { // temporary disable all plugins if there is a file called 'disabled' in the plugin dir if (file_exists("$plugins_path/disabled")) { + if (elgg_is_admin_logged_in() && elgg_in_context('admin')) { + system_message(elgg_echo('plugins:disabled')); + } return false; } -- cgit v1.2.3