diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2008-09-05 03:24:26 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2008-09-05 03:24:26 +0400 |
commit | 4edf54f75532cdd7b7be3c53a43ad39d54d66bdd (patch) | |
tree | e3dbb8c697624c393bfbcc19afcbc23283cb8261 /plugins/DBStats/DBStats.php | |
parent | 51368bdcffcbe0ac89e89f9443135332f0b6455c (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.php | 7 |
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')); } |