diff options
Diffstat (limited to 'actions/admin/plugins/disableall.php')
-rw-r--r-- | actions/admin/plugins/disableall.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/admin/plugins/disableall.php b/actions/admin/plugins/disableall.php index bd68c17b1..21938727e 100644 --- a/actions/admin/plugins/disableall.php +++ b/actions/admin/plugins/disableall.php @@ -16,9 +16,9 @@ $plugins = get_installed_plugins(); foreach ($plugins as $p => $data) { if (disable_plugin($p)) { elgg_delete_admin_notice('first_installation_plugin_reminder'); - system_message(sprintf(elgg_echo('admin:plugins:disable:yes'), $p)); + system_message(elgg_echo('admin:plugins:disable:yes', array($p))); } else { - register_error(sprintf(elgg_echo('admin:plugins:disable:no'), $p)); + register_error(elgg_echo('admin:plugins:disable:no', array($p))); } } |