Code Duplication    Length = 3-3 lines in 2 locations

modules/minileven.php 2 locations

@@ 33-35 (lines=3) @@
30
31
function minileven_configuration_load() {
32
	if ( isset( $_POST['action'] ) && $_POST['action'] == 'save_options' && $_POST['_wpnonce'] == wp_create_nonce( 'minileven' ) ) {
33
		if ( isset( $_POST['wp_mobile_excerpt'] ) ) {
34
			update_option( 'wp_mobile_excerpt', '1' == $_POST['wp_mobile_excerpt'] ? '1' : '0' );
35
		}
36
37
		if ( isset( $_POST['wp_mobile_featured_images'] ) ) {
38
			update_option( 'wp_mobile_featured_images', '1' == $_POST['wp_mobile_featured_images'] ? '1' : '0' );
@@ 37-39 (lines=3) @@
34
			update_option( 'wp_mobile_excerpt', '1' == $_POST['wp_mobile_excerpt'] ? '1' : '0' );
35
		}
36
37
		if ( isset( $_POST['wp_mobile_featured_images'] ) ) {
38
			update_option( 'wp_mobile_featured_images', '1' == $_POST['wp_mobile_featured_images'] ? '1' : '0' );
39
		}
40
41
		update_option( 'wp_mobile_app_promos', ( isset( $_POST['wp_mobile_app_promos'] ) ) ? '1' : '0' );
42