You are here

function _datex_fix_module_weights in Datex 7.3

2 calls to _datex_fix_module_weights()
datex_enable in ./datex.module
Implements hook_enable().
datex_install in ./datex.install
Implements hook_install().
1 string reference to '_datex_fix_module_weights'
datex_enable in ./datex.module
Implements hook_enable().

File

./datex.install, line 16
Datex install file, for adding or removing datex variables.

Code

function _datex_fix_module_weights() {

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