domci : commas should be followed by space

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5281 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2019-05-23 14:55:18 +00:00
parent 17168aaaef
commit f423229f94
20 changed files with 159 additions and 167 deletions

View File

@@ -140,7 +140,7 @@ class imap
throw new \Exception ("IMAP server not connected", 500);
if (! in_array ($folder, $this->foldersList ()))
throw new \Exception ("Folder not found", 404);
$folderUTF7 = mb_convert_encoding ($folder, "UTF7-IMAP","UTF-8");
$folderUTF7 = mb_convert_encoding ($folder, "UTF7-IMAP", "UTF-8");
$rc = @imap_reopen (self::$instance[$this->mailbox],
$this->mailbox.$folderUTF7);
if ($rc === true)
@@ -168,7 +168,7 @@ class imap
throw new \Exception ("IMAP server not connected", 500);
if ( in_array ($folder, $this->foldersList ()))
throw new \Exception ("Folder already exists", 406);
$folderUTF7 = mb_convert_encoding ($folder, "UTF7-IMAP","UTF-8");
$folderUTF7 = mb_convert_encoding ($folder, "UTF7-IMAP", "UTF-8");
return imap_createmailbox (self::$instance[$this->mailbox],
$this->mailbox.$folderUTF7);
}
@@ -182,7 +182,7 @@ class imap
throw new \Exception ("IMAP server not connected", 500);
if (! in_array ($folder, $this->foldersList ()))
throw new \Exception ("Folder not found", 404);
$folderUTF7 = mb_convert_encoding ($folder, "UTF7-IMAP","UTF-8");
$folderUTF7 = mb_convert_encoding ($folder, "UTF7-IMAP", "UTF-8");
return imap_deletemailbox (self::$instance[$this->mailbox],
$this->mailbox.$folderUTF7);
}
@@ -217,7 +217,7 @@ class imap
{
if ($this->mailbox === null)
throw new \Exception ("IMAP server not connected", 500);
$folderUTF7 = mb_convert_encoding ($folder, "UTF7-IMAP","UTF-8");
$folderUTF7 = mb_convert_encoding ($folder, "UTF7-IMAP", "UTF-8");
return imap_subscribe (self::$instance[$this->mailbox],
$this->mailbox.$folder);
}
@@ -230,7 +230,7 @@ class imap
{
if ($this->mailbox === null)
throw new \Exception ("IMAP server not connected", 500);
$folderUTF7 = mb_convert_encoding ($folder, "UTF7-IMAP","UTF-8");
$folderUTF7 = mb_convert_encoding ($folder, "UTF7-IMAP", "UTF-8");
return imap_unsubscribe (self::$instance[$this->mailbox],
$this->mailbox.$folder);
}
@@ -413,7 +413,7 @@ class imap
$this->changeFolder ($this->curDir);
if (is_array ($msgno))
$msgno = implode (",", $msgno);
$folderUTF7 = mb_convert_encoding ($folder, "UTF7-IMAP","UTF-8");
$folderUTF7 = mb_convert_encoding ($folder, "UTF7-IMAP", "UTF-8");
$rc = imap_mail_move (self::$instance[$this->mailbox], $msgno, $folderUTF7);
if ($rc !== TRUE)
{
@@ -436,7 +436,7 @@ class imap
$this->changeFolder ($this->curDir);
if (is_array ($msgno))
$msgno = implode (",", $msgno);
$folderUTF7 = mb_convert_encoding ($folder, "UTF7-IMAP","UTF-8");
$folderUTF7 = mb_convert_encoding ($folder, "UTF7-IMAP", "UTF-8");
$rc = imap_mail_copy (self::$instance[$this->mailbox], $msgno, $folderUTF7);
if ($rc !== TRUE)
{
@@ -719,7 +719,7 @@ class imap
{
if ($this->mailbox === null)
throw new \Exception ("IMAP server not connected", 500);
$folderUTF7 = mb_convert_encoding ($this->curDir, "UTF7-IMAP","UTF-8");
$folderUTF7 = mb_convert_encoding ($this->curDir, "UTF7-IMAP", "UTF-8");
$rc = imap_append (self::$instance[$this->mailbox],
$this->mailbox.$folderUTF7,
$content);