Code Duplication    Length = 10-10 lines in 2 locations

classes/controllers/FrmStylesController.php 2 locations

@@ 321-330 (lines=10) @@
318
        }
319
    }
320
321
    public static function reset_styling() {
322
		FrmAppHelper::permission_check('frm_change_settings');
323
        check_ajax_referer( 'frm_ajax', 'nonce' );
324
325
        $frm_style = new FrmStyle();
326
        $defaults = $frm_style->get_defaults();
327
328
        echo json_encode( $defaults );
329
        wp_die();
330
    }
331
332
    public static function change_styling() {
333
        check_ajax_referer( 'frm_ajax', 'nonce' );
@@ 397-406 (lines=10) @@
394
		include( $file_name );
395
    }
396
397
    public static function load_css() {
398
        header('Content-type: text/css');
399
400
        $frm_style = new FrmStyle();
401
        $defaults = $frm_style->get_defaults();
402
		$style = '';
403
404
		include( FrmAppHelper::plugin_path() . '/css/_single_theme.css.php' );
405
        wp_die();
406
    }
407
408
	public static function load_saved_css() {
409
		$css = get_transient( 'frmpro_css' );