Code Duplication    Length = 2-2 lines in 2 locations

Sources/ScheduledTasks.php 2 locations

@@ 604-605 (lines=2) @@
601
		}
602
603
		$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'] = array();
604
		if (!empty($notify['topics'][$row['id_topic']]))
605
			$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'] = array_merge($types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'], $notify['topics'][$row['id_topic']]);
606
		if (!empty($notify['boards'][$row['id_board']]))
607
			$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'] = array_merge($types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'], $notify['boards'][$row['id_board']]);
608
	}
@@ 606-607 (lines=2) @@
603
		$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'] = array();
604
		if (!empty($notify['topics'][$row['id_topic']]))
605
			$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'] = array_merge($types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'], $notify['topics'][$row['id_topic']]);
606
		if (!empty($notify['boards'][$row['id_board']]))
607
			$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'] = array_merge($types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'], $notify['boards'][$row['id_board']]);
608
	}
609
	$smcFunc['db_free_result']($request);
610