Убрано неиспользуемое ClanImage().

This commit is contained in:
Igor Barkov (iwork)
2020-08-27 15:38:06 +03:00
parent 0049b2d601
commit 618e51b179
3 changed files with 2 additions and 12 deletions
-10
View File
@@ -232,16 +232,6 @@ function check_proc($u)
return $r;
}
function ClanImage($clan_id)
{
$clanimg = db::c()->query('SELECT `short` FROM `clans` WHERE `id` = ?i ', $clan_id)->fetch_assoc();
if ($clanimg['short']) {
return $clanimg['short'];
} else {
return "1x1";
}
}
function GiveExp($id, $exp)
{
db::c()->query('UPDATE users SET exp = exp + ?i WHERE id = ?i', $exp, $id);