Code Duplication    Length = 6-6 lines in 2 locations

calendar/inc/class.calendar_boupdate.inc.php 2 locations

@@ 2509-2514 (lines=6) @@
2506
				if (!empty($event[$key]) && (empty($egwEvent[$key])
2507
						|| strpos(str_replace("\r\n", "\n", $egwEvent[$key]), $event[$key]) !== 0))
2508
				{
2509
					if ($this->log)
2510
					{
2511
						error_log(__FILE__.'['.__LINE__.'] '.__METHOD__.
2512
							"() event[$key] differ: '" . $event[$key] .
2513
							"' <> '" . $egwEvent[$key] . "'\n",3,$this->logfile);
2514
					}
2515
					continue 2; // next foundEvent
2516
				}
2517
			}
@@ 2644-2649 (lines=6) @@
2641
					if (isset($event[$key])
2642
							&& $event[$key] != $egwEvent[$key])
2643
					{
2644
						if ($this->log)
2645
						{
2646
							error_log(__FILE__.'['.__LINE__.'] '.__METHOD__.
2647
								"() events[$key] differ: " . $event[$key] .
2648
								' <> ' . $egwEvent[$key]."\n",3,$this->logfile);
2649
						}
2650
						continue 2;
2651
					}
2652
				}