diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-02-14 23:32:17 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-02-14 23:41:53 +0100 |
commit | 27cfda74fc5085bba8d5baf36450b3f52187dce9 (patch) | |
tree | dcf559dab641cd5dc901da21efd658d9ea5cd529 /phpBB | |
parent | 8314ce6871c3e6f28c5bc374d1b73afc85f58b85 (diff) | |
download | forums-27cfda74fc5085bba8d5baf36450b3f52187dce9.tar forums-27cfda74fc5085bba8d5baf36450b3f52187dce9.tar.gz forums-27cfda74fc5085bba8d5baf36450b3f52187dce9.tar.bz2 forums-27cfda74fc5085bba8d5baf36450b3f52187dce9.tar.xz forums-27cfda74fc5085bba8d5baf36450b3f52187dce9.zip |
[ticket/13612] Always display success message if extension was enabled
An error will already be triggered if enable_step() is not successful.
Redirecting for no obvious reason will just confuse users.
PHPBB3-13612
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/acp/acp_extensions.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php index 89fdc8b863..0c9bc0deab 100644 --- a/phpBB/includes/acp/acp_extensions.php +++ b/phpBB/includes/acp/acp_extensions.php @@ -174,11 +174,6 @@ class acp_extensions trigger_error($user->lang['EXTENSION_NOT_ENABLEABLE'] . adm_back_link($this->u_action), E_USER_WARNING); } - if ($phpbb_extension_manager->is_enabled($ext_name)) - { - redirect($this->u_action); - } - try { while ($phpbb_extension_manager->enable_step($ext_name)) |