mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Code refactoring
Threads sorting Big mailbox optimazations Added "labs.imap_message_list_date_filter" Added "labs.imap_message_list_count_limit_trigger" Added "labs.imap_message_list_hide_deleted_messages"
This commit is contained in:
parent
4569190691
commit
290cf38b97
9 changed files with 389 additions and 624 deletions
|
|
@ -426,6 +426,11 @@ class Utils
|
|||
*/
|
||||
public static function IsAscii($sValue)
|
||||
{
|
||||
if ('' === \trim($sValue))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return !\preg_match('/[^\x09\x10\x13\x0A\x0D\x20-\x7E]/', $sValue);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue