mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-26 05:07:51 +00:00
Clear some dead code!
Clear some dead code!
This commit is contained in:
@@ -92,15 +92,7 @@ trait AutomationAccountMaintenance {
|
||||
}
|
||||
}
|
||||
|
||||
private function ClearInactive() {
|
||||
global $database;
|
||||
|
||||
if(TRACK_USR) {
|
||||
$timeout = time()-USER_TIMEOUT * 60;
|
||||
$q = "DELETE FROM ".TB_PREFIX."active WHERE timestamp < $timeout";
|
||||
$database->query($q);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private function checkInvitedPlayes() {
|
||||
global $database;
|
||||
|
||||
Reference in New Issue
Block a user