Commit 35fb8897 authored by Dries's avatar Dries

- Show the top nodes on admin/statistics. Patch by James Walker.

parent 84c7e91a
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment