Code Duplication    Length = 7-8 lines in 2 locations

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

@@ 149-155 (lines=7) @@
146
	 *
147
	 * @param array $_clientProperties		client properties
148
	 */
149
	function __construct(&$_clientProperties = array())
150
	{
151
		parent::__construct();
152
		if ($this->log) $this->logfile = $GLOBALS['egw_info']['server']['temp_dir']."/log-sifcal";
153
		$this->clientProperties = $_clientProperties;
154
		$this->vCalendar = new Horde_iCalendar;
155
	}
156
157
158
	function startElement($_parser, $_tag, $_attributes)

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

@@ 180-187 (lines=8) @@
177
	 *
178
	 * @param array $_clientProperties		client properties
179
	 */
180
	function __construct(&$_clientProperties = array())
181
	{
182
		parent::__construct();
183
		if ($this->log) $this->logfile = $GLOBALS['egw_info']['server']['temp_dir']."/log-vcal";
184
		$this->clientProperties = $_clientProperties;
185
		$this->vCalendar = new Horde_Icalendar;
186
		$this->addressbook = new addressbook_bo;
187
	}
188
189
190
	/**