Pas de menu Piwik si pas déclaré

This commit is contained in:
Alan Garcia 2013-02-21 17:46:05 +00:00
parent 86705bbae5
commit bdd51cd353
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ class m_piwik {
function hook_menu() {
global $quota;
if ( empty($this->piwik_server_uri) || empty($this->piwik_admin_token)) return false;
$obj = array(
'title' => _("Piwik statistics"),
'ico' => 'images/stat.png',