You are here

labjs.install in LABjs 7

Same filename and directory in other branches
  1. 6 labjs.install

LABjs install file

File

labjs.install
View 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

Namesort descending Description
labjs_install Implements hook_install().
labjs_uninstall Implements of hook_uninstall().