Remove unused

This commit is contained in:
Igor Barkov (iwork) 2020-07-03 16:06:46 +03:00
parent 66375be9b7
commit d186330f71
3 changed files with 1 additions and 37 deletions

View File

@ -1,29 +0,0 @@
<?php
/**
* Copyright (c) 2018.
* Author: Igor Barkov <lopar.4ever@gmail.com>
* Project name: Battles-Game
*/
/* @DEPRECATED */
class n
{
private static $_instance = null;
private function __clone() {}
private function __construct() {}
/**
* @param $userId
* @return null|string
*/
public static function show($userId)
{
if (!self::$_instance) {
self::$_instance = nick::search($userId);
}
return self::$_instance;
}
}

View File

@ -390,8 +390,4 @@ $exptable = [
1100000000 => [1, 0, 0, 450, 0, 1250000000],
1250000000 => [1, 0, 0, 450, 0, 1500000000],
1500000000 => [10, 1, 5, 8000, 1, 9999999999], # Это тринадцатый уровень
];
// Нигде не используются?
$abils_array = ['attack', 'sleep', 'sleepf'];
$ab_user = ['sleep15', 'sleep30', 'closebattle', 'heal20', 'heal35', 'heal50', 'travmoff', 'attack', 'bloodattack', 'death', 'comment', 'openbattle', 'reamdeath', 'clone', 'unclone'];
];

View File

@ -236,9 +236,6 @@ function nick4($id, $st)
if ($effect) {
$user['level'] = '??';
$user['login'] = '</a><b><i>невидимка</i></b>';
$user['align'] = '0';
$user['klan'] = '';
$user['id'] = '';
$user['hp'] = '??';
$user['maxhp'] = '??';
}