function oauth_common_context_delete in OAuth 1.0 6.3
Same name and namespace in other branches
- 7.4 oauth_common.module \oauth_common_context_delete()
- 7.3 oauth_common.module \oauth_common_context_delete()
Remove an context.
Return value
void
1 call to oauth_common_context_delete()
- oauth_common_delete_confirm_context_submit in ./
oauth_common.admin.inc - Handle the submit button to delete a context.
File
- ./
oauth_common.module, line 528
Code
function oauth_common_context_delete($context) {
db_query("DELETE FROM {oauth_common_context} WHERE name = '%s' AND cid = %d", $context->name, $context->cid);
}