You are here

function services_keyauth_install in Services 7

Same name and namespace in other branches
  1. 6.2 auth/services_keyauth/services_keyauth.install \services_keyauth_install()

Implements hook_install().

File

auth/services_keyauth/services_keyauth.install, line 126
@author Services Dev Team

Code

function services_keyauth_install() {

  // Legacy tables exist so we just create the new table.
  if (!db_table_exists('services_keys')) {
    drupal_install_schema('services_keyauth');
  }
  else {
    $update = array();
    _services_key_auth_permissions();
  }
}