Code Duplication    Length = 10-10 lines in 2 locations

classes/controllers/FrmStylesController.php 2 locations

@@ 346-355 (lines=10) @@
343
        }
344
    }
345
346
    public static function reset_styling() {
347
		FrmAppHelper::permission_check( 'frm_change_settings' );
348
        check_ajax_referer( 'frm_ajax', 'nonce' );
349
350
        $frm_style = new FrmStyle();
351
        $defaults = $frm_style->get_defaults();
352
353
        echo json_encode( $defaults );
354
        wp_die();
355
    }
356
357
	public static function change_styling() {
358
		check_ajax_referer( 'frm_ajax', 'nonce' );
@@ 418-427 (lines=10) @@
415
		include( $file_name );
416
    }
417
418
    public static function load_css() {
419
		header( 'Content-type: text/css' );
420
421
        $frm_style = new FrmStyle();
422
        $defaults = $frm_style->get_defaults();
423
		$style = '';
424
425
		include( FrmAppHelper::plugin_path() . '/css/_single_theme.css.php' );
426
        wp_die();
427
    }
428
429
	public static function load_saved_css() {
430
		$css = get_transient( 'frmpro_css' );