Commit 80e7b0d7 authored by tbrehm's avatar tbrehm
Browse files

Added code to delete old remote sessions.

parent 0f5da921
......@@ -74,6 +74,10 @@ class remoting {
return false;
}
//* Delete old remoting sessions
$sql = "DELETE FROM remote_session WHERE tstamp < ".time();
$app->db->query($sql);
$username = $app->db->quote($username);
$password = $app->db->quote($password);
......
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