You are here

function piwik_update_6002 in Piwik Web Analytics 6

Same name and namespace in other branches
  1. 6.2 piwik.install \piwik_update_6002()
  2. 7.2 piwik.install \piwik_update_6002()
  3. 7 piwik.install \piwik_update_6002()

Remove obsolte token auth.

File

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

Code

function piwik_update_6002() {
  $ret = array();
  variable_del('piwik_auth');
  $ret[] = array(
    'success' => TRUE,
    'query' => 'The global token_auth setting has been deleted. Users need to configure their personal token_auth.',
  );
  return $ret;
}