imageapi_optimize.install 463 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * @file
  4. * Install, update and uninstall functions
  5. */
  6. function imageapi_optimize_uninstall() {
  7. $variable_names = array(
  8. 'imageapi_optimize_service',
  9. 'imageapi_optimize_toolkit',
  10. 'imageapi_optimize_advpng',
  11. 'imageapi_optimize_optipng',
  12. 'imageapi_optimize_jpegtran',
  13. 'imageapi_optimize_jfifremove',
  14. 'imageapi_optimize_pngcrush',
  15. );
  16. foreach ($variable_names as $variable_name) {
  17. variable_del($variable_name);
  18. }
  19. }