Code Duplication    Length = 4-4 lines in 2 locations

Sources/PostModeration.php 2 locations

@@ 715-718 (lines=4) @@
712
	{
713
		approveTopics($messages);
714
		// and tell the world about it
715
		foreach ($messages as $topic)
716
		{
717
			logAction('approve_topic', array('topic' => $topic, 'subject' => $messageDetails[$topic]['subject'], 'member' => $messageDetails[$topic]['member'], 'board' => $messageDetails[$topic]['board']));
718
		}
719
	}
720
	else
721
	{
@@ 724-727 (lines=4) @@
721
	{
722
		approvePosts($messages);
723
		// and tell the world about it again
724
		foreach ($messages as $post)
725
		{
726
			logAction('approve', array('topic' => $messageDetails[$post]['topic'], 'subject' => $messageDetails[$post]['subject'], 'member' => $messageDetails[$post]['member'], 'board' => $messageDetails[$post]['board']));
727
		}
728
	}
729
}
730