workflow_notify_og.install 579 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * @file
  4. * Install, update and uninstall functions for the Workflow module.
  5. *
  6. */
  7. /**
  8. * Implements hook_install().
  9. */
  10. function workflow_notify_og_install() {
  11. db_update('system')
  12. ->fields(array('weight' => -1))
  13. ->condition('name', 'workflow_notify_og')
  14. ->condition('type', 'module')
  15. ->execute();
  16. }
  17. /**
  18. * Set weight for Workflow_Notify_OG.
  19. */
  20. function workflow_notify_og_update_7000() {
  21. db_update('system')
  22. ->fields(array('weight' => -1))
  23. ->condition('name', 'workflow_notify_og')
  24. ->condition('type', 'module')
  25. ->execute();
  26. }