aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorn-aleha <nick_aleha@myway.com>2014-04-13 23:29:54 +0300
committern-aleha <nick_aleha@myway.com>2014-04-14 00:02:28 +0300
commit6584f5eba68e99ab05ff4abebbcddd2a51b6d8dc (patch)
tree320abfaf1c4d63aedea184a4cd245b69e45bd4dd
parentcbc1c4bf3186944750ae5075b6f9c225318ab31e (diff)
downloadforums-6584f5eba68e99ab05ff4abebbcddd2a51b6d8dc.tar
forums-6584f5eba68e99ab05ff4abebbcddd2a51b6d8dc.tar.gz
forums-6584f5eba68e99ab05ff4abebbcddd2a51b6d8dc.tar.bz2
forums-6584f5eba68e99ab05ff4abebbcddd2a51b6d8dc.tar.xz
forums-6584f5eba68e99ab05ff4abebbcddd2a51b6d8dc.zip
[ticket/12191] Move notification options to bottom while installing
Move "ucp>board preferences>edit notification options" to bottom while installing. PHPBB3-12191
-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