See the return function:

function oauth_common_update_6100() {
  module_load_include('6100.inc', 'oauth_common', 'updates/update');
  return _oauth_common_update_6200();
}

Should probably be

function oauth_common_update_6100() {
  module_load_include('6100.inc', 'oauth_common', 'updates/update');
  return _oauth_common_update_6100();
}

Comments

toemaz’s picture

When fixing the previous issue, a new one pops up in update.6100.inc:

  // Add the default context
  oauth_common_install_default_oauth_context();

Apparently there is no such function oauth_common_install_default_oauth_context() and so the update fails.

toemaz’s picture

Perhaps the code in #1 it needs to be changed into

  // Add the default context
  oauth_common_default_oauth_common_context();
Hugo Wetterberg’s picture

Project: OAuth Common (deprecated) » OAuth 1.0
Version: 6.x-1.0-beta5 » 6.x-3.0-beta1
voxpelli’s picture

Version: 6.x-3.0-beta1 » 6.x-3.0-beta2
Status: Active » Fixed

Committed what should be a fix for this - patch is here: http://github.com/voxpelli/drupal-oauth/commit/7047289d7fed82aad397cc9a4...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.