function oauth_common_context_save in OAuth 1.0 7.3
Same name and namespace in other branches
- 6.3 oauth_common.module \oauth_common_context_save()
- 7.4 oauth_common.module \oauth_common_context_save()
Saves a context in the database.
Return value
void
1 call to oauth_common_context_save()
- oauth_common_edit_form_context_submit in ./
oauth_common.admin.inc - Process submission of the mini panel edit form.
File
- ./
oauth_common.module, line 527
Code
function oauth_common_context_save($context) {
$update = isset($context->cid) ? array(
'cid',
) : array();
drupal_write_record('oauth_common_context', $context, $update);
}