From 2188d2a4f2a4083397c345e2f158db01ca0a38bf Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Fri, 12 Dec 2008 12:08:42 -0500 Subject: Quell missing argument warning in clear_expired_sessions(). Signed-off-by: Loui Chang --- web/lib/acctfuncs.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc index a8492577..61207778 100644 --- a/web/lib/acctfuncs.inc +++ b/web/lib/acctfuncs.inc @@ -798,7 +798,7 @@ function user_is_privileged( $id ) } # Clear out old expired sessions. -function clear_expired_sessions($dbh) { +function clear_expired_sessions($dbh = null) { global $LOGIN_TIMEOUT; if (empty($dbh)) @@ -809,3 +809,4 @@ function clear_expired_sessions($dbh) { return; } + -- cgit v1.2.3-24-g4f1b