mirror of
https://github.com/openvk/openvk
synced 2025-05-09 18:46:39 +03:00
fix(banned): replace "подозрительная активность"
This commit is contained in:
parent
e413cd4ed9
commit
c04361bcab
1 changed files with 2 additions and 2 deletions
|
@ -306,10 +306,10 @@ class User extends RowModel
|
|||
$content_type = $matches[1];
|
||||
$content_id = (int) $matches[2];
|
||||
if (in_array($content_type, ["noSpamTemplate", "user"])) {
|
||||
$reason = "Подозрительная активность";
|
||||
$reason = $this->getRawBanReason();
|
||||
} else {
|
||||
if ($for !== "banned") {
|
||||
$reason = "Подозрительная активность";
|
||||
$reason = $this->getRawBanReason();
|
||||
} else {
|
||||
$reason = [$this->getTextForContentBan($content_type), $content_type];
|
||||
switch ($content_type) {
|
||||
|
|
Loading…
Reference in a new issue