diff options
author | Loui Chang <louipc.ist@gmail.com> | 2008-12-12 18:08:42 +0100 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2008-12-12 18:08:42 +0100 |
commit | 2188d2a4f2a4083397c345e2f158db01ca0a38bf (patch) | |
tree | b5d7c682e3ee5e6da3b1732f5f9c1b9350809096 /web/lib/acctfuncs.inc | |
parent | 3a018bb53f259eae3edc9bb10b8af7661627928b (diff) | |
download | aur-2188d2a4f2a4083397c345e2f158db01ca0a38bf.tar.gz aur-2188d2a4f2a4083397c345e2f158db01ca0a38bf.tar.xz |
Quell missing argument warning in clear_expired_sessions().
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lib/acctfuncs.inc')
-rw-r--r-- | web/lib/acctfuncs.inc | 3 |
1 files changed, 2 insertions, 1 deletions
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; } + |