Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
oauth
Commits
ddca5c85
Commit
ddca5c85
authored
Mar 07, 2014
by
Kyle Browning
Browse files
Issue [#2044303] Fix pass by reference notices by grndlvl
parent
0d15ad94
Changes
1
Hide whitespace changes
Inline
Side-by-side
updates/update.6200.inc
View file @
ddca5c85
...
...
@@ -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'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment