Ещё немного уборки мусора.

This commit is contained in:
lopar
2020-08-30 19:28:15 +03:00
parent c5a7dc4b58
commit 83832ecd2c
34 changed files with 458 additions and 636 deletions

View File

@@ -48,12 +48,6 @@ class User
// Динамически рассчитываемые
public $maxHealth = 5;
public $maxMana = 5;
//Статусы того, кто смотрит на информацию.
public $watcher_id;
protected $watcherIsAdmin;
protected $watcherIsModerator;
use Rooms;
public function __construct($user)
{
@@ -109,17 +103,6 @@ class User
}
protected function WatcherStatus()
{
$query = db::c()->query('SELECT `align`,`admin` FROM `users` WHERE `id` = ?i', $this->watcher_id)->fetch_assoc();
if ($query['admin']) {
$this->watcherIsAdmin = 1;
}
if ($query['align'] == 1) {
$this->watcherIsModerator = 1;
}
}
protected function showStarSign()
{
/*