aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-16 00:49:59 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-04-16 00:49:59 +0200
commite50b6b588988379b6612f679def5c9fec35a0d9d (patch)
treef12daed4a018f58ab6bf0bfca34c6f6f62c717f0
parentc4e3cc0850b737e3a1537035e3bd6594014203b4 (diff)
parent6584f5eba68e99ab05ff4abebbcddd2a51b6d8dc (diff)
downloadforums-e50b6b588988379b6612f679def5c9fec35a0d9d.tar
forums-e50b6b588988379b6612f679def5c9fec35a0d9d.tar.gz
forums-e50b6b588988379b6612f679def5c9fec35a0d9d.tar.bz2
forums-e50b6b588988379b6612f679def5c9fec35a0d9d.tar.xz
forums-e50b6b588988379b6612f679def5c9fec35a0d9d.zip
Merge pull request #2304 from n-aleha/ticket/12191
[ticket/12191] Move notification options to bottom while installing * n-aleha/ticket/12191: [ticket/12191] Move notification options to bottom while installing
-rw-r--r--phpBB/install/install_install.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index c749b54f40..db8156a831 100644
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -1662,6 +1662,18 @@ class install_install extends module
$db->sql_freeresult($result);
$_module->move_module_by($row, 'move_down', 4);
+
+ // Move notification options module 4 down...
+ $sql = 'SELECT *
+ FROM ' . MODULES_TABLE . "
+ WHERE module_basename = 'ucp_notifications'
+ AND module_class = 'ucp'
+ AND module_mode = 'notification_options'";
+ $result = $db->sql_query($sql);
+ $row = $db->sql_fetchrow($result);
+ $db->sql_freeresult($result);
+
+ $_module->move_module_by($row, 'move_down', 4);
}
// And now for the special ones