Переезд функции repexp; Переезд классов User в неймспейс.

This commit is contained in:
2023-04-15 22:52:33 +03:00
parent ec11709a86
commit 2d63efd915
29 changed files with 339 additions and 233 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
namespace User;
use Core\Db;
class StatsModel
{
public static function addRepexpById(int $id, int $val)
{
Db::sql('update stats set repexp = repexp + ? where id = ?', [$val, $id]);
}
}