You are here

function gauth_update_7004 in Google Auth 7.2

Same name and namespace in other branches
  1. 7 gauth.install \gauth_update_7004()

Add the Gauth scopes cache table.

File

./gauth.install, line 169
Install and uninstall functions for the Google OAuth module.

Code

function gauth_update_7004() {
  $module = 'gauth';
  $schema = drupal_get_schema_unprocessed($module);
  _drupal_schema_initialize($schema, $module, FALSE);
  unset($schema['gauth_accounts']);
  foreach ($schema as $name => $table) {
    db_create_table($name, $table);
  }
}