summaryrefslogtreecommitdiff
path: root/includes/user.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-04-05 20:33:36 +0000
committerDries Buytaert <dries@buytaert.net>2001-04-05 20:33:36 +0000
commit048664f2786fce9bd049f39eea39a2a7fe2868f0 (patch)
treebc017dc66a48bec52fea486a6b7ec52ad5ff8e1f /includes/user.inc
parent7fac91c2cc4ca3dedf4459f9cdf9955e33be0f42 (diff)
downloadbrdo-048664f2786fce9bd049f39eea39a2a7fe2868f0.tar.gz
brdo-048664f2786fce9bd049f39eea39a2a7fe2868f0.tar.bz2
- a bunch of various updates
Diffstat (limited to 'includes/user.inc')
-rw-r--r--includes/user.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/user.inc b/includes/user.inc
index 5c97cb02d..18f48ce52 100644
--- a/includes/user.inc
+++ b/includes/user.inc
@@ -103,7 +103,7 @@ function user_ban($mask, $type) {
function user_gravity($id) {
global $status;
- $period = 5184000; // maximum 60 days
+ $period = 5184000; // maximum 60 days
$number = 30; // maximum 30 comments
$r1 = db_query("SELECT COUNT(nid) AS number FROM node WHERE author = '$id' AND (". time() ." - timestamp < $period) AND status = '$status[posted]'");