summaryrefslogtreecommitdiff
path: root/modules/statistics.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-06-01 21:57:29 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-06-01 21:57:29 +0000
commit4a28077f468f0a688cd70f3b43e5ffc242bcb49a (patch)
tree8913da6bf5a92e28d06f04db9635c1b93c4c8fe3 /modules/statistics.module
parent59082a5f19aded411f474fcd88220a06a02f06f4 (diff)
downloadbrdo-4a28077f468f0a688cd70f3b43e5ffc242bcb49a.tar.gz
brdo-4a28077f468f0a688cd70f3b43e5ffc242bcb49a.tar.bz2
- 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.
Diffstat (limited to 'modules/statistics.module')
-rw-r--r--modules/statistics.module5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/statistics.module b/modules/statistics.module
index 3b04cf3ae..c4e1d48d0 100644
--- a/modules/statistics.module
+++ b/modules/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));
}