From: Vladimir Fomichev Date: Mon, 8 Sep 2025 15:04:21 +0000 (+0300) Subject: Убираем правки другой ветки в Admin.php X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=ea895e86f610cc5fdaa39e43db122875737aa194;p=erp24_rep%2Fyii-erp24%2F.git Убираем правки другой ветки в Admin.php --- 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) {