Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2008-09-05 03:24:26 +0400
committermattpiwik <matthieu.aubry@gmail.com>2008-09-05 03:24:26 +0400
commit4edf54f75532cdd7b7be3c53a43ad39d54d66bdd (patch)
treee3dbb8c697624c393bfbcc19afcbc23283cb8261 /plugins/DBStats/DBStats.php
parent51368bdcffcbe0ac89e89f9443135332f0b6455c (diff)
Refactoring Widget and Menu code (in core and all plugins)
Commit patch by Maciej adding support for multiple lines plotting Cleaning Date object + small other code improvements git-svn-id: http://dev.piwik.org/svn/trunk@622 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/DBStats/DBStats.php')
-rw-r--r--plugins/DBStats/DBStats.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/DBStats/DBStats.php b/plugins/DBStats/DBStats.php
index c06304eae8..072e386c73 100644
--- a/plugins/DBStats/DBStats.php
+++ b/plugins/DBStats/DBStats.php
@@ -24,8 +24,13 @@ class Piwik_DBStats extends Piwik_Plugin
'version' => '0.1',
);
}
+
+ function getListHooksRegistered()
+ {
+ return array('AdminMenu.add' => 'addMenu');
+ }
- function postLoad()
+ function addMenu()
{
Piwik_AddAdminMenu("Database usage", array('module' => 'DBStats', 'action' => 'index'));
}