munin_apc.install 466 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @file
  4. * Drupal APC instrumentation for Munin: installation.
  5. *
  6. * @author Frederic G. MARAND
  7. *
  8. * @copyright (c) 2011 Ouest Systèmes Informatiques
  9. *
  10. * Licensed under the General Public License version 2 or later.
  11. */
  12. /**
  13. * Implements hook_enable().
  14. */
  15. function munin_apc_enable() {
  16. variable_set('menu_rebuild_needed', TRUE);
  17. }
  18. /**
  19. * Implements hook_disable().
  20. */
  21. function munin_apc_disable() {
  22. variable_set('menu_rebuild_needed', TRUE);
  23. }