labjs.install in LABjs 7
Same filename and directory in other branches
LABjs install file
File
labjs.installView source
<?php
/**
* @file
* LABjs install file
*/
/**
* Implements of hook_uninstall().
*/
function labjs_uninstall() {
variable_del('labjs_pages_choice');
variable_del('labjs_pages_list');
}
/**
* Implements hook_install().
*/
function labjs_install() {
// Set module weight for it to run after locale module
db_query("UPDATE {system} SET weight = 1 WHERE name = 'labjs' AND type = 'module'");
}
Functions
Name | Description |
---|---|
labjs_install | Implements hook_install(). |
labjs_uninstall | Implements of hook_uninstall(). |