media_archive.install 499 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * @file
  4. * Install, update and uninstall functions for the Media: Archive module.
  5. */
  6. /**
  7. * Implement hook_install().
  8. */
  9. function media_archive_install() {
  10. return array();
  11. }
  12. /**
  13. * Implement hook_uninstall().
  14. */
  15. function media_archive_uninstall() {
  16. foreach (media_archive_variable_default() as $variable => $value) {
  17. media_archive_variable_del($variable);
  18. }
  19. return array(array('success' => TRUE, 'query' => "Deleted all variables in the Media: Archive namespace."));
  20. }