mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
Almost all JSON properties to JavaScript camelCase
This commit is contained in:
parent
7a53cae32f
commit
f080a302b1
50 changed files with 501 additions and 562 deletions
|
|
@ -5,7 +5,7 @@ class DemoAccountPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
const
|
||||
NAME = 'Demo Account Extension',
|
||||
CATEGORY = 'Login',
|
||||
REQUIRED = '2.23',
|
||||
REQUIRED = '2.25',
|
||||
DESCRIPTION = 'Extension to enable a demo account';
|
||||
|
||||
/**
|
||||
|
|
@ -59,9 +59,9 @@ class DemoAccountPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
}
|
||||
else if ('DoFolderCreate' === $sMethodName || 'DoFolderRename' === $sMethodName) {
|
||||
// Block spam https://github.com/the-djmaze/snappymail/issues/371
|
||||
$latin = transliterator_transliterate('Any-Latin; Latin-ASCII; Lower()', $aActionParams['Folder']);
|
||||
$latin = transliterator_transliterate('Any-Latin; Latin-ASCII; Lower()', $aActionParams['folder']);
|
||||
if (false !== \strpos($latin, 'nigger')) {
|
||||
\error_log("blocked {$sMethodName} {$aActionParams['Folder']}");
|
||||
\error_log("blocked {$sMethodName} {$aActionParams['folder']}");
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue