Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Massimiliano
ISPConfig 3
Commits
80e7b0d7
Commit
80e7b0d7
authored
Nov 18, 2009
by
tbrehm
Browse files
Added code to delete old remote sessions.
parent
0f5da921
Changes
1
Show whitespace changes
Inline
Side-by-side
interface/lib/classes/remoting.inc.php
View file @
80e7b0d7
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment