Code Duplication    Length = 1-1 lines in 3 locations

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

@@ 1447-1447 (lines=1) @@
1444
		//if ($_returnModHash) $messageFolderHash = array();
1445
		foreach ((array)$rv_messages['header'] as $k => $vars)
1446
		{
1447
			if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' ID to process:'.$vars['uid'].' Subject:'.$vars['subject']);
1448
			$headers[$vars['uid']] = $vars;
1449
			if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' MailID:'.$k.'->'.array2string($vars));
1450
			if (!empty($vars['deleted'])) continue; // cut of deleted messages
@@ 1452-1452 (lines=1) @@
1449
			if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' MailID:'.$k.'->'.array2string($vars));
1450
			if (!empty($vars['deleted'])) continue; // cut of deleted messages
1451
			if ($cutoffdate && $vars['date'] < $cutoffdate) continue; // message is out of range for cutoffdate, ignore it
1452
			if ($this->debugLevel>0) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' ID to report:'.$vars['uid'].' Subject:'.$vars['subject']);
1453
			$mess = $return_all_headers ? $vars : array();
1454
			$mess["mod"] = self::doFlagsMod($vars).$vars['date'];
1455
			$mess["id"] = $vars['uid'];
@@ 950-950 (lines=1) @@
947
						if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' never display html(plain text only):'.$body);
948
					}
949
					// whatever format decode (using the correct encoding)
950
					if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__."MIME Body".' Type:'.($output->nativebodytype==2?' html ':' plain ').$body);
951
					//$body = html_entity_decode($body,ENT_QUOTES,$this->mail->detect_encoding($body));
952
					// prepare plaintextbody
953
					$plainBody='';