PHP Fatal error: Uncaught Error: Call to undefined method User::onlineBonus()
This commit is contained in:
parent
b3810d2349
commit
f913d8e4a3
1
main.php
1
main.php
@ -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"
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user