Code Duplication    Length = 6-6 lines in 2 locations

includes/class-sensei-learners-main.php 2 locations

@@ 105-110 (lines=6) @@
102
				);
103
				break;
104
105
			case 'lessons':
106
				$columns = array(
107
					'title' => array( 'title', false ),
108
					'updated' => array( 'post_modified', false ),
109
				);
110
				break;
111
112
			default:
113
				$columns = array(
@@ 112-117 (lines=6) @@
109
				);
110
				break;
111
112
			default:
113
				$columns = array(
114
					'title' => array( 'title', false ),
115
					'updated' => array( 'post_modified', false ),
116
				);
117
				break;
118
		}
119
		// Backwards compatible
120
		if ( 'learners' == $this->view ) {