function services_keyauth_install in Services 6.2
Same name and namespace in other branches
- 7 auth/services_keyauth/services_keyauth.install \services_keyauth_install()
Implementation of hook_install().
File
- auth/
services_keyauth/ services_keyauth.install, line 129 - Install, uninstall and update the module.
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($update);
}
}