Code Duplication    Length = 2-2 lines in 2 locations

Sources/ManageMaintenance.php 2 locations

@@ 121-122 (lines=2) @@
118
		call_helper($subActions[$subAction]['activities'][$activity]);
119
120
	//converted to UTF-8? show a small maintenance info
121
	if (isset($_GET['done']) && $_GET['done'] == 'convertutf8')
122
		$context['maintenance_finished'] = $txt['utf8_title'];
123
124
	// Create a maintenance token.  Kinda hard to do it any other way.
125
	createToken('admin-maint');
@@ 152-153 (lines=2) @@
149
		$context['convert_to_suggest'] = ($body_type != 'text' && !empty($modSettings['max_messageLength']) && $modSettings['max_messageLength'] < 65536);
150
	}
151
152
	if (isset($_GET['done']) && $_GET['done'] == 'convertutf8')
153
		$context['maintenance_finished'] = $txt['utf8_title'];
154
	if (isset($_GET['done']) && $_GET['done'] == 'convertentities')
155
		$context['maintenance_finished'] = $txt['entity_convert_title'];
156
}