me.install in me aliases 5
Same filename and directory in other branches
Provides 'me' aliases install and uninstall routines.
File
me.installView source
<?php
/**
* @file
*
* Provides 'me' aliases install and uninstall routines.
*/
/**
* Implementation of hook_install().
*/
function me_install() {
db_query("UPDATE {system} SET weight = 1000 WHERE name = 'me'");
}
/**
* Implementation of hook_uninstall().
*/
function me_uninstall() {
$vars = array(
'me_aliases',
);
foreach ($vars as $var) {
variable_del($var);
}
}
/**
* Implementation of hook_update_N().
*/
function me_update_5101() {
return array(
update_sql("UPDATE {system} SET weight = 1000 WHERE name = 'me'"),
);
}
Functions
Name | Description |
---|---|
me_install | Implementation of hook_install(). |
me_uninstall | Implementation of hook_uninstall(). |
me_update_5101 | Implementation of hook_update_N(). |