Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
SkippingUnauthorized.php
1
<?php
2
3
namespace
Bitrix\MessageService\Restriction
;
4
5
trait 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
}
Bitrix\MessageService\Restriction
Definition
Base.php:3
modules
messageservice
lib
Restriction
SkippingUnauthorized.php
Создано системой
1.10.0