function _datex_fix_missing_datex_api_module in Datex 7.3
@file Datex install file, for adding or removing datex variables.
5 calls to _datex_fix_missing_datex_api_module()
- datex_disable in ./
datex.install - Implements hook_disable().
- datex_enable in ./
datex.module - Implements hook_enable().
- datex_install in ./
datex.install - Implements hook_install().
- datex_requirements in ./
datex.install - Implements hook_requirements().
- datex_uninstall in ./
datex.install - Implements hook_uninstall().
1 string reference to '_datex_fix_missing_datex_api_module'
- datex_enable in ./
datex.module - Implements hook_enable().
File
- ./
datex.install, line 8 - Datex install file, for adding or removing datex variables.
Code
function _datex_fix_missing_datex_api_module() {
$modules = [
'datex_api',
];
db_delete('system')
->condition('name', $modules, 'IN')
->condition('type', 'module')
->execute();
}