Inside oauth_common_providerui_menu() is the following menu item (and it's child as well.)

$menu['user/%user/oauth'] = array(
  'title' => 'Authorization',
  'page callback' => 'oauth_common_page_user_authorizations',
  'page arguments' => array(1, TRUE),
  'access callback' => '_oauth_common_user_access',
  'access arguments' => array(1),
  'file' => 'oauth_common.authorizations.inc',
  'type' => MENU_LOCAL_TASK,
);

Both of which call oauth_common_page_user_authorizations() and pass in two arguments, however the function only takes a single argument.

Doesn't cause any problems but would be nice to clean up at some point.

Comments

Alka Kumari’s picture

Attaching expected patch. It works fine for me.

Alka Kumari’s picture

Status: Active » Needs review
Alka Kumari’s picture

Any reviews please.