Commit ddca5c85 authored by Kyle Browning's avatar Kyle Browning
Browse files

Issue [#2044303] Fix pass by reference notices by grndlvl

parent 0d15ad94
......@@ -30,13 +30,13 @@ function _oauth_common_update_6200() {
// Change all the oauth_common_token indexes and keys to take provider_token
// into account.
db_drop_primary_key(&$ret, 'oauth_common_token');
db_drop_index(&$ret, 'oauth_common_token', 'token_key_type');
db_drop_index(&$ret, 'oauth_common_token', 'consumer_key');
db_drop_primary_key($ret, 'oauth_common_token');
db_drop_index($ret, 'oauth_common_token', 'token_key_type');
db_drop_index($ret, 'oauth_common_token', 'consumer_key');
db_add_primary_key(&$ret, 'oauth_common_token', array('token_key', 'provider_token'));
db_add_index(&$ret, 'oauth_common_token', 'token_key_type', array('token_key', 'provider_token', 'type'));
db_add_index(&$ret, 'oauth_common_token', 'consumer_key', array('consumer_key', 'provider_token'));
db_add_primary_key($ret, 'oauth_common_token', array('token_key', 'provider_token'));
db_add_index($ret, 'oauth_common_token', 'token_key_type', array('token_key', 'provider_token', 'type'));
db_add_index($ret, 'oauth_common_token', 'consumer_key', array('consumer_key', 'provider_token'));
db_drop_table($ret, 'oauth_authorization_levels');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment