mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 17:56:52 +02:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/9712] Future dates can be formatted as 'less than one minute ago' [ticket/9659] Signature options in set_user_options [ticket/9703] Correct database leak where deleting user did not rm some PM data [ticket/9697] Backlink broken when the select parent forum does not exist. [ticket/9695] Correct the improper display of user input in mcp_ban.php [ticket/9628] _add_module 'after'-parameter does not work correctly. [ticket/9578] ACP Posting tab is missing "Post settings" module.
This commit is contained in:
@@ -685,7 +685,6 @@ function _add_modules($modules_to_install)
|
||||
WHERE module_class = '" . $db->sql_escape($module_data['class']) . "'
|
||||
AND parent_id = {$parent_id}
|
||||
AND left_id BETWEEN {$first_left_id} AND {$module_row['left_id']}
|
||||
GROUP BY left_id
|
||||
ORDER BY left_id";
|
||||
$result = $db->sql_query($sql);
|
||||
$steps = (int) $db->sql_fetchfield('num_modules');
|
||||
@@ -1684,6 +1683,19 @@ function change_database_data(&$no_updates, $version)
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
// Install modules
|
||||
$modules_to_install = array(
|
||||
'post' => array(
|
||||
'base' => 'board',
|
||||
'class' => 'acp',
|
||||
'title' => 'ACP_POST_SETTINGS',
|
||||
'auth' => 'acl_a_board',
|
||||
'cat' => 'ACP_MESSAGES',
|
||||
'after' => array('message', 'ACP_MESSAGE_SETTINGS')
|
||||
),
|
||||
);
|
||||
|
||||
_add_modules($modules_to_install);
|
||||
|
||||
$no_updates = false;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user