From 4a28077f468f0a688cd70f3b43e5ffc242bcb49a Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sat, 1 Jun 2002 21:57:29 +0000 Subject: - adding descriptions to modules (thanks Joe + Scott). - fixed comment flat list view missing 1 comment. - changed update.php around a bit. * security check isn't in effect if the db hasn't been updated. * instructions re-organized. * fixed some minor updates. - updated database.mysql done by UnConeD. - changelog update. --- modules/statistics/statistics.module | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/statistics/statistics.module') diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 3b04cf3ae..c4e1d48d0 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -14,6 +14,11 @@ function statistics_help() { return $output; } +function statistics_system($field){ + $system["description"] = t("Gathers and displays site metrics."); + return $system[$field]; +} + function statistics_cron() { db_query("DELETE FROM referrer WHERE ". time() ." - timestamp > ". variable_get("referrer_clear", 604800)); } -- cgit v1.2.3