function clients_drupal_install in Web Service Clients 7
Same name and namespace in other branches
- 6 backends/clients_drupal/clients_drupal.install \clients_drupal_install()
Implementation of hook_install().
File
- backends/
clients_drupal/ clients_drupal.install, line 12 - Sets system variables and deletes connections on uninstall @todo Delete resources on uninstall
Code
function clients_drupal_install() {
$weight = (int) db_result(db_query("SELECT weight FROM {system} WHERE name = 'clients'"));
db_query("UPDATE {system} SET weight = %d WHERE name = 'clients_drupal'", $weight + 1);
}