diff options
author | Joseph Warner <hardolaf@hardolaf.com> | 2013-08-07 21:40:16 -0400 |
---|---|---|
committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-08-07 21:40:49 -0400 |
commit | 6be6de2b29cb7cbcf8b882e0f11cb0b02232aff9 (patch) | |
tree | c6a1e60717b847df78fa317a54f02aa0f8434ef6 /phpBB/phpbb/db | |
parent | 4683c37682541f73deca1f1476daf8c24f6962d6 (diff) | |
download | forums-6be6de2b29cb7cbcf8b882e0f11cb0b02232aff9.tar forums-6be6de2b29cb7cbcf8b882e0f11cb0b02232aff9.tar.gz forums-6be6de2b29cb7cbcf8b882e0f11cb0b02232aff9.tar.bz2 forums-6be6de2b29cb7cbcf8b882e0f11cb0b02232aff9.tar.xz forums-6be6de2b29cb7cbcf8b882e0f11cb0b02232aff9.zip |
[feature/oauth] Migration update for new ucp module
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r-- | phpBB/phpbb/db/migration/data/310/auth_provider_oauth.php | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/migration/data/310/auth_provider_oauth.php b/phpBB/phpbb/db/migration/data/310/auth_provider_oauth.php index 07541c7eac..8706d14798 100644 --- a/phpBB/phpbb/db/migration/data/310/auth_provider_oauth.php +++ b/phpBB/phpbb/db/migration/data/310/auth_provider_oauth.php @@ -49,8 +49,23 @@ class phpbb_db_migration_data_310_auth_provider_oauth extends phpbb_db_migration { return array( 'drop_tables' => array( - $this->table_prefix . 'auth_provider_oauth', + $this->table_prefix . 'oauth_tokens', + $this->table_prefix . 'oauth_accounts', ), ); } + + public function update_data() + { + return array( + array('module.add', array( + 'ucp', + 'UCP_AUTH_LINK', + array( + 'module_basename' => 'ucp_auth_link', + 'modes' => array('auth_link'), + ), + )), + ); + } } |