This commit is contained in:
Igor Barkov (iwork)
2021-02-01 16:40:21 +02:00
parent 538047f36f
commit 8d0bce6299
3 changed files with 36 additions and 28 deletions
-22
View File
@@ -1,22 +0,0 @@
<?php
/**
* Author: lopiu
* Date: 05.07.2020
* Time: 22:38
*/
namespace Battles\Models;
class UserLogModel
{
protected $DB;
public function __construct(int $user_id)
{
$this->DB = \db::c()->query('SELECT * FROM users_logs WHERE user_id = ?i ORDER BY `id` ASC', $user_id);
}
public function getUserLog()
{
return $this->DB;
}
}