Code Duplication    Length = 1-1 lines in 3 locations

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

@@ 966-966 (lines=1) @@
963
						if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' never display html(plain text only):'.$body);
964
					}
965
					// whatever format decode (using the correct encoding)
966
					if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__."MIME Body".' Type:'.($output->nativebodytype==2?' html ':' plain ').$body);
967
					//$body = html_entity_decode($body,ENT_QUOTES,$this->mail->detect_encoding($body));
968
					// prepare plaintextbody
969
					$plainBody='';
@@ 1464-1464 (lines=1) @@
1461
		//if ($_returnModHash) $messageFolderHash = array();
1462
		foreach ((array)$rv_messages['header'] as $k => $vars)
1463
		{
1464
			if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' ID to process:'.$vars['uid'].' Subject:'.$vars['subject']);
1465
			$headers[$vars['uid']] = $vars;
1466
			if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' MailID:'.$k.'->'.array2string($vars));
1467
			if (!empty($vars['deleted'])) continue; // cut of deleted messages
@@ 1469-1469 (lines=1) @@
1466
			if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' MailID:'.$k.'->'.array2string($vars));
1467
			if (!empty($vars['deleted'])) continue; // cut of deleted messages
1468
			if ($cutoffdate && $vars['date'] < $cutoffdate) continue; // message is out of range for cutoffdate, ignore it
1469
			if ($this->debugLevel>0) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' ID to report:'.$vars['uid'].' Subject:'.$vars['subject']);
1470
			$mess = $return_all_headers ? $vars : array();
1471
			$mess["mod"] = self::doFlagsMod($vars).$vars['date'];
1472
			$mess["id"] = $vars['uid'];