Code Duplication    Length = 6-10 lines in 3 locations

calendar/inc/class.calendar_ical.inc.php 1 location

@@ 1490-1495 (lines=6) @@
1487
				}
1488
			}
1489
1490
			if ($this->log)
1491
			{
1492
				error_log(__FILE__.'['.__LINE__.'] '.__METHOD__ . '('
1493
					. $event_info['type'] . ")\n"
1494
					. array2string($event)."\n",3,$this->logfile);
1495
			}
1496
1497
			// Android (any maybe others) delete recurrences by setting STATUS: CANCELLED
1498
			// as we ignore STATUS we have to delete the recurrence by calling delete

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

@@ 2581-2590 (lines=10) @@
2578
							unset($egwEvent['participants'][$attendee]);
2579
						}
2580
					}
2581
					if (!empty($egwEvent['participants']))
2582
					{
2583
						if ($this->log)
2584
						{
2585
							error_log(__FILE__.'['.__LINE__.'] '.__METHOD__.
2586
								'() missing event[participants]: ' .
2587
								array2string($egwEvent['participants'])."\n",3,$this->logfile);
2588
						}
2589
						continue;
2590
					}
2591
				}
2592
			}
2593
@@ 2626-2635 (lines=10) @@
2623
							continue 2;
2624
						}
2625
					}
2626
					if (!empty($exceptions))
2627
					{
2628
						if ($this->log)
2629
						{
2630
							error_log(__FILE__.'['.__LINE__.'] '.__METHOD__.
2631
								'() missing event[recur_exception]: ' .
2632
								array2string($event['recur_exception'])."\n",3,$this->logfile);
2633
						}
2634
						continue;
2635
					}
2636
				}
2637
2638
				// check recurrence information