diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-12-10 06:43:32 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-12-10 06:43:32 +0000 |
commit | 35fb88977672a3b081a3a9b07471f802cc264d9d (patch) | |
tree | 148894cbdb7abd09f33aaf2ef8de51714866febb | |
parent | 84c7e91a2dd63af157496d7eae9c69e983619b3f (diff) | |
download | brdo-35fb88977672a3b081a3a9b07471f802cc264d9d.tar.gz brdo-35fb88977672a3b081a3a9b07471f802cc264d9d.tar.bz2 |
- Show the top nodes on admin/statistics. Patch by James Walker.
-rw-r--r-- | modules/statistics.module | 5 | ||||
-rw-r--r-- | modules/statistics/statistics.module | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/modules/statistics.module b/modules/statistics.module index d4e8efb4e..074c6ce4a 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -197,15 +197,14 @@ function statistics_admin() { /* non-configuration admin pages */ switch ($op) { - case "statistics": - $output = statistics_admin_topnodes(); - break; case "referrers": $output = statistics_top_refer(); break; case "log": $output = statistics_admin_displaylog(); break; + default: + $output = statistics_admin_topnodes(); } print theme("page", $output); diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index d4e8efb4e..074c6ce4a 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -197,15 +197,14 @@ function statistics_admin() { /* non-configuration admin pages */ switch ($op) { - case "statistics": - $output = statistics_admin_topnodes(); - break; case "referrers": $output = statistics_top_refer(); break; case "log": $output = statistics_admin_displaylog(); break; + default: + $output = statistics_admin_topnodes(); } print theme("page", $output); |