Commit 2188d2a4 authored by Loui Chang's avatar Loui Chang
Browse files

Quell missing argument warning in clear_expired_sessions().



Signed-off-by: default avatarLoui Chang <louipc.ist@gmail.com>
parent 3a018bb5
......@@ -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;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment