You are here

function piwik_disable in Piwik Web Analytics 6.2

Same name and namespace in other branches
  1. 5 piwik.install \piwik_disable()
  2. 6 piwik.install \piwik_disable()
  3. 7.2 piwik.install \piwik_disable()
  4. 7 piwik.install \piwik_disable()

Implementation of hook_disable().

File

./piwik.install, line 62
Installation file for Piwik - Web analytics module.

Code

function piwik_disable() {

  // Remove cache directory if module is disabled (or uninstalled).
  piwik_clear_js_cache();
}