diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2012-10-29 13:58:24 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-10-29 14:58:25 -0400 |
commit | 5f5d395c625fe0257e7bca5d787424808f7649cc (patch) | |
tree | 98125d2b2017cdd55c3a035160c74bb71d7c317b /phpBB/install | |
parent | 88bd7292f16817d681264b9f06ff30c2a38c1da4 (diff) | |
download | forums-5f5d395c625fe0257e7bca5d787424808f7649cc.tar forums-5f5d395c625fe0257e7bca5d787424808f7649cc.tar.gz forums-5f5d395c625fe0257e7bca5d787424808f7649cc.tar.bz2 forums-5f5d395c625fe0257e7bca5d787424808f7649cc.tar.xz forums-5f5d395c625fe0257e7bca5d787424808f7649cc.zip |
[ticket/11158] Require acl_u_sig for ucp signature module.
PHPBB3-11158
Diffstat (limited to 'phpBB/install')
-rw-r--r-- | phpBB/install/database_update.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 40837145ba..099ab6aeb5 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -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; } } |