function oauth_common_update_6003 in OAuth 1.0 6.3
Implementation of hook_update_N().
This update makes it possible for consumers to store tokens in the common token table. It also adds the possibility to add consumer-consumers to the common consumer table.
NB: There is a weakness in the current implementation that prevents a site from acting as a consumer of itself. That would result in hitting a unique constraint in the db as the token key is the primary key. /Hugo
File
- ./
oauth_common.install, line 424 - Installation and schema related functions for the OAuth module
Code
function oauth_common_update_6003() {
module_load_include('6003.inc', 'oauth_common', 'updates/update');
return _oauth_common_update_6003();
}