mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
v2.33.0
This commit is contained in:
parent
5e012bd66e
commit
61c533a1a6
8 changed files with 56 additions and 20 deletions
|
|
@ -62,11 +62,11 @@ class DemoAccountPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
$latin = transliterator_transliterate('Any-Latin; Latin-ASCII; Lower()', $aActionParams['folder']);
|
||||
if (false !== \strpos($latin, 'nigger')) {
|
||||
\error_log("blocked {$sMethodName} {$aActionParams['folder']}");
|
||||
exit;
|
||||
throw new \RainLoop\Exceptions\ClientException(\RainLoop\Notifications::DemoAccountError);
|
||||
}
|
||||
}
|
||||
else if ('DoFolderClear' === $sMethodName || 'DoMessageDelete' === $sMethodName) {
|
||||
exit;
|
||||
throw new \RainLoop\Exceptions\ClientException(\RainLoop\Notifications::DemoAccountError);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue