function oauth_common_context_delete in OAuth 1.0 7.4
Same name and namespace in other branches
- 6.3 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 543
Code
function oauth_common_context_delete($context) {
db_delete('oauth_common_context')
->condition('name', $context->name)
->condition('cid', $context->cid)
->execute();
}