Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
SkippingUnauthorized.php
1<?php
2
4
5trait SkippingUnauthorized
6{
7 public function isCanSend(): bool
8 {
9 if ($this->getEntity() === '0')
10 {
11 return true;
12 }
13 return parent::isCanSend();
14 }
15
16 public function increase(): bool
17 {
18 if ($this->getEntity() === '0')
19 {
20 return true;
21 }
22
23 return parent::increase();
24 }
25}