function simplenews_scheduler_install in Simplenews Scheduler 7
Same name and namespace in other branches
- 8 simplenews_scheduler.install \simplenews_scheduler_install()
- 5 simplenews_scheduler.install \simplenews_scheduler_install()
- 6.2 simplenews_scheduler.install \simplenews_scheduler_install()
- 6 simplenews_scheduler.install \simplenews_scheduler_install()
- 2.0.x simplenews_scheduler.install \simplenews_scheduler_install()
Implements hook_install().
File
- ./
simplenews_scheduler.install, line 127 - Install and uninstall functions for the Simplenews Scheduler module.
Code
function simplenews_scheduler_install() {
// Update the module weight to run before simplenews.
db_update('system')
->condition('name', 'simplenews_scheduler')
->fields(array(
'weight' => -1,
))
->execute();
}