function user_delete_install in User Delete 6
Same name and namespace in other branches
- 5 user_delete.install \user_delete_install()
- 6.2 user_delete.install \user_delete_install()
Implementation of hook_install().
File
- ./
user_delete.install, line 14 - User delete - Installation routines
Code
function user_delete_install() {
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
db_query("UPDATE {system} SET weight=-1 WHERE name='user_delete'");
break;
case 'pgsql':
db_query("UPDATE {system} SET weight=-1 WHERE name='user_delete'");
break;
}
}