Code Duplication    Length = 6-9 lines in 2 locations

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

@@ 1759-1764 (lines=6) @@
1756
				$return_id = null;
1757
			}
1758
1759
			if ($this->log)
1760
			{
1761
				$event_info['stored_event'] = $this->read($event_info['stored_event']['id']);
1762
				error_log(__FILE__.'['.__LINE__.'] '.__METHOD__."()[$updated_id]\n" .
1763
					array2string($event_info['stored_event'])."\n",3,$this->logfile);
1764
			}
1765
		}
1766
		date_default_timezone_set($GLOBALS['egw_info']['server']['server_timezone']);
1767

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

@@ 2354-2362 (lines=9) @@
2351
			}
2352
		}
2353
2354
		if (!empty($event['uid']))
2355
		{
2356
			$query['cal_uid'] = $event['uid'];
2357
			if ($this->log)
2358
			{
2359
				error_log(__FILE__.'['.__LINE__.'] '.__METHOD__.
2360
					'(' . $event['uid'] . ")[EventUID]\n",3,$this->logfile);
2361
			}
2362
		}
2363
2364
		if ($this->log)
2365
		{