user_delete.install in User Delete 6.2
Same filename and directory in other branches
User delete - Installation routines
File
user_delete.installView source
<?php
/**
* @file
* User delete - Installation routines
*
*/
/**
* Implementation of hook_install().
*/
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;
}
}
/**
* Implementation of hook_uninstall().
* @TODO: Not yet implemented.
*/
function user_delete_uninstall() {
}
Functions
Name | Description |
---|---|
user_delete_install | Implementation of hook_install(). |
user_delete_uninstall | Implementation of hook_uninstall(). @TODO: Not yet implemented. |