dev-php74-utf8 #31

Merged
lopar merged 15 commits from dev-php74-utf8 into master 2023-01-11 13:52:04 +00:00
2 changed files with 0 additions and 2 deletions
Showing only changes of commit f913d8e4a3 - Show all commits

View File

@ -84,7 +84,6 @@ if ($u->room['file'] == "room_hostel" || $u->room['file'] == "post") {
#--------для общаги, и позже для почты
if ($u->info['online'] < time() - 60 || $u->info['afk'] != '') {
$filter->setOnline($u->info['8'], $u->info['id']);
$u->onlineBonus();
mysql_query(
"UPDATE `users` SET `online`='" . time() . "',`timeMain`='" . time(
) . "',`afk`='' WHERE `id`='" . $u->info['id'] . "' LIMIT 1"

View File

@ -27,7 +27,6 @@ if ($u->info['bithday'] == '01.01.1800') {
if ($u->info['online'] < time() - 60) {
mysql_query('UPDATE users SET online = unix_timestamp() WHERE id = ' . $u->info['id']);
$filter->setOnline($u->info['online'], $u->info['id']);
$u->onlineBonus();
}
function isModerOrAdmin($uinfo)