Code Duplication    Length = 1-1 lines in 3 locations

mail/inc/class.mail_zpush.inc.php 3 locations

@@ 977-977 (lines=1) @@
974
						if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' never display html(plain text only):'.$body);
975
					}
976
					// whatever format decode (using the correct encoding)
977
					if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__."MIME Body".' Type:'.($output->nativebodytype==2?' html ':' plain ').$body);
978
					//$body = html_entity_decode($body,ENT_QUOTES,$this->mail->detect_encoding($body));
979
					// prepare plaintextbody
980
					$plainBody='';
@@ 1481-1481 (lines=1) @@
1478
		//if ($_returnModHash) $messageFolderHash = array();
1479
		foreach ((array)$rv_messages['header'] as $k => $vars)
1480
		{
1481
			if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' ID to process:'.$vars['uid'].' Subject:'.$vars['subject']);
1482
			$headers[$vars['uid']] = $vars;
1483
			if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' MailID:'.$k.'->'.array2string($vars));
1484
			if (!empty($vars['deleted'])) continue; // cut of deleted messages
@@ 1486-1486 (lines=1) @@
1483
			if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' MailID:'.$k.'->'.array2string($vars));
1484
			if (!empty($vars['deleted'])) continue; // cut of deleted messages
1485
			if ($cutoffdate && $vars['date'] < $cutoffdate) continue; // message is out of range for cutoffdate, ignore it
1486
			if ($this->debugLevel>0) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' ID to report:'.$vars['uid'].' Subject:'.$vars['subject']);
1487
			$mess = $return_all_headers ? $vars : array();
1488
			$mess["mod"] = self::doFlagsMod($vars).$vars['date'];
1489
			$mess["id"] = $vars['uid'];