Dbtablename changed
This commit is contained in:
parent
d186330f71
commit
24c9a0978c
@ -39,7 +39,7 @@ if ($username && $password) {
|
|||||||
db::c()->query('INSERT INTO online (user_id, date, room) VALUES (?i, ?i, ?i)', $data['id'], time(), $data['room']);
|
db::c()->query('INSERT INTO online (user_id, date, room) VALUES (?i, ?i, ?i)', $data['id'], time(), $data['room']);
|
||||||
}
|
}
|
||||||
|
|
||||||
db::c()->query('UPDATE `users` SET `sid` = "?s", `enter_game` = ?i WHERE `id` = ?i', session_id(), 1, $data['id']);
|
db::c()->query('UPDATE `users` SET `session_id` = "?s", `enter_game` = ?i WHERE `id` = ?i', session_id(), 1, $data['id']);
|
||||||
// DEPRECATED. NO TABLE IN DB!
|
// DEPRECATED. NO TABLE IN DB!
|
||||||
// $sms = db::c()->query('SELECT * FROM `telegraph` WHERE `receiver` = ?i', $data['id']);
|
// $sms = db::c()->query('SELECT * FROM `telegraph` WHERE `receiver` = ?i', $data['id']);
|
||||||
// while ($res = $sms->fetch_assoc()) {
|
// while ($res = $sms->fetch_assoc()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user