1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 01:36:57 +02:00

[ticket/11158] Require acl_u_sig for ucp signature module.

PHPBB3-11158
This commit is contained in:
Oleg Pudeyev
2012-10-29 13:58:24 -04:00
parent 88bd7292f1
commit 5f5d395c62
2 changed files with 13 additions and 1 deletions

View File

@@ -1005,6 +1005,8 @@ function database_update_info()
),
// No changes from 3.0.11-RC2 to 3.0.11
'3.0.11-RC2' => array(),
// No changes from 3.0.11 to 3.0.12-RC1
'3.0.11' => array(),
/** @todo DROP LOGIN_ATTEMPT_TABLE.attempt_id in 3.0.12-RC1 */
);
@@ -2108,6 +2110,16 @@ function change_database_data(&$no_updates, $version)
// No changes from 3.0.11-RC2 to 3.0.11
case '3.0.11-RC2':
break;
// Changes from 3.0.11 to 3.0.12-RC1
case '3.0.11':
$sql = 'UPDATE ' . MODULES_TABLE . '
SET module_auth = \'acl_u_sig\'
WHERE module_class = \'ucp\'
AND module_basename = \'profile\'
AND module_mode = \'signature\'';
_sql($sql, $errored, $error_ary);
break;
}
}