Cosmetics changes : remove ending lines spaces

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3012 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2016-08-31 07:20:24 +00:00
parent 94099866f6
commit a04d3a4f4a
35 changed files with 208 additions and 210 deletions

View File

@@ -168,7 +168,7 @@ class imap
$res = array ();
foreach ($subs as $sub)
{
$res [] = str_replace ($sub->delimiter, "/",
$res [] = str_replace ($sub->delimiter, "/",
substr ($sub->name, strlen ($this->mailbox)));
}
$res = array_map (function ($folder) {
@@ -272,7 +272,7 @@ class imap
if ($from < 1)
$from = 1;
if ($from > $MC->Nmsgs)
throw new Exception ("Mail start is higher than the number of mails",
throw new Exception ("Mail start is higher than the number of mails",
500);
$from = $MC->Nmsgs - $from + 1;
$to = $from + $nbmails - 1;
@@ -282,7 +282,7 @@ class imap
else
{
if ($from > $MC->Nmsgs)
throw new Exception ("Mail start is higher than the number of mails",
throw new Exception ("Mail start is higher than the number of mails",
500);
if ($from < 1)
$from = 1;
@@ -535,7 +535,7 @@ class imap
strtolower ($struct2->subtype);
else
throw new Exception (sprintf (
dgettext("domframework",
dgettext("domframework",
"Unknown type in imap_fetchstructure : %s"),
$struct2->type), 500);
}
@@ -581,7 +581,7 @@ class imap
strtolower ($struct1->subtype);
else
throw new Exception (sprintf (
dgettext("domframework",
dgettext("domframework",
"Unknown type in imap_fetchstructure : %s"),
$struct1->type), 500);
}
@@ -665,7 +665,7 @@ class imap
imap_errors();
if (! isset ($quota["STORAGE"]))
return array ();
return array_map (function ($n) {return intval ($n/1000);},
$quota["STORAGE"]);
}
@@ -688,7 +688,7 @@ class imap
$this->changeFolder ($this->curDir);
if (is_array ($msgno))
$msgno = implode (",", $msgno);
$rc = @imap_setflag_full (self::$instance[$this->mailbox], $msgno,
$rc = @imap_setflag_full (self::$instance[$this->mailbox], $msgno,
implode (" ", $flags));
imap_errors();
if ($rc === FALSE)
@@ -712,7 +712,7 @@ class imap
$this->changeFolder ($this->curDir);
if (is_array ($msgno))
$msgno = implode (",", $msgno);
$rc = @imap_clearflag_full (self::$instance[$this->mailbox], $msgno,
$rc = @imap_clearflag_full (self::$instance[$this->mailbox], $msgno,
implode (" ", $flags));
imap_errors();
if ($rc === FALSE)