Mass update
This commit is contained in:
+2
-4
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
use Insallah\Db;
|
||||
use Core\Db;
|
||||
|
||||
header('Content-Type: text/html; charset=windows-1251');
|
||||
const GAME = true;
|
||||
@@ -655,9 +655,7 @@ if ($_GET['r1'] != 0) {
|
||||
$ysee = 0;
|
||||
} else {
|
||||
if ($pl['online'] < time() - 120) {
|
||||
mysql_query(
|
||||
'UPDATE `users` SET `online` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'
|
||||
);
|
||||
User::setOnline($pl['id']);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user