Skip to content
Snippets Groups Projects
Commit cfc29e6e authored by Peter Rotich's avatar Peter Rotich
Browse files

Remove unused index key

parent b8c979db
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ class MailFetcher {
return null;
$list = array();
foreach($folders as $k => $folder)
foreach($folders as $folder)
$list[]= str_replace($this->srvstr, '', imap_utf7_decode(trim($folder)));
return $list;
......@@ -211,7 +211,7 @@ class MailFetcher {
$str = '';
$parts = imap_mime_header_decode($text);
foreach ($parts as $k => $part)
foreach ($parts as $part)
$str.= $part->text;
return $str?$str:imap_utf8($text);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment