You are here

function datex_install in Datex 7

Same name and namespace in other branches
  1. 7.3 datex.install \datex_install()
  2. 7.2 datex.install \datex_install()

Implements hook_install().

File

./datex.install, line 10
datex install file, To check for PHP-Intl availability.

Code

function datex_install() {

  // To run before schedule module.
  db_update('system')
    ->fields(array(
    'weight' => 100,
  ))
    ->condition('name', 'datex', '=')
    ->execute();
}