From ea895e86f610cc5fdaa39e43db122875737aa194 Mon Sep 17 00:00:00 2001 From: Vladimir Fomichev Date: Mon, 8 Sep 2025 18:04:21 +0300 Subject: [PATCH] =?utf8?q?=D0=A3=D0=B1=D0=B8=D1=80=D0=B0=D0=B5=D0=BC=20?= =?utf8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=B4=D1=80=D1=83=D0=B3?= =?utf8?q?=D0=BE=D0=B9=20=D0=B2=D0=B5=D1=82=D0=BA=D0=B8=20=D0=B2=20Admin.p?= =?utf8?q?hp?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/records/Admin.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/erp24/records/Admin.php b/erp24/records/Admin.php index 449b9287..a81b3322 100755 --- a/erp24/records/Admin.php +++ b/erp24/records/Admin.php @@ -89,8 +89,6 @@ class Admin extends ActiveRecord implements IdentityInterface 72, // ]; - const ADMIN_AGENT_FOR_EXCHANGE_NAME = 'agent'; - public $imageFile; private $store_arrArr; @@ -734,12 +732,6 @@ class Admin extends ActiveRecord implements IdentityInterface // $_SESSION['name_group_admin'] = "Пользователь"; } - public static function getAdminAgentId() { - $id = Admin::find()->select('id')->where(['name' => self::ADMIN_AGENT_FOR_EXCHANGE_NAME])->scalar(); - return $id; - } - - public function hasPermission($permission) { -- 2.39.5