munin_apc.install 474 B

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