Code Duplication    Length = 6-6 lines in 2 locations

infolog/inc/class.infolog_ui.inc.php 1 location

@@ 2548-2553 (lines=6) @@
2545
	function mail_import(array $mailContent=null)
2546
	{
2547
		// It would get called from compose as a popup with egw_data
2548
		if (!is_array($mailContent) && ($_GET['egw_data']))
2549
		{
2550
			// get the mail raw data
2551
			Link::get_data ($_GET['egw_data']);
2552
			return false;
2553
		}
2554
2555
		return $this->edit($this->bo->import_mail($mailContent['addresses'],
2556
				$mailContent['subject'],

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

@@ 3095-3100 (lines=6) @@
3092
	function mail_import(array $mailContent=null)
3093
	{
3094
		// It would get called from compose as a popup with egw_data
3095
		if (!is_array($mailContent) && ($_GET['egw_data']))
3096
		{
3097
			// get raw mail data
3098
			Link::get_data ($_GET['egw_data']);
3099
			return false;
3100
		}
3101
3102
		if (is_array($mailContent))
3103
		{