function drupagram_oauth_callback in Drupagram 7
Same name and namespace in other branches
- 6 drupagram.pages.inc \drupagram_oauth_callback()
@TODO This code should probably be reviewed.
Wrapper to call drupal_form_submit() which wasn't required in D6.
1 string reference to 'drupagram_oauth_callback'
- drupagram_menu in ./
drupagram.module - Implements hook_menu().
File
- ./
drupagram.pages.inc, line 336 - Drupagram admin page callaback functions.
Code
function drupagram_oauth_callback() {
$form_state['values']['code'] = $_GET['code'];
drupal_form_submit('drupagram_oauth_callback_form', $form_state);
}