Code Duplication    Length = 9-10 lines in 3 locations

core/db_classes/EE_Event.class.php 3 locations

@@ 1240-1249 (lines=10) @@
1237
	 * @see EEI_Admin_Links for comments
1238
	 * @return string
1239
	 */
1240
	public function get_admin_edit_link() {
1241
		EE_Registry::instance()->load_helper('URL');
1242
		return EEH_URL::add_query_args_and_nonce( array(
1243
			'page' => 'espresso_events',
1244
			'action' => 'edit',
1245
			'post' => $this->ID()
1246
			),
1247
			admin_url( 'admin.php' )
1248
		);
1249
	}
1250
1251
1252
@@ 1258-1266 (lines=9) @@
1255
	 * @see EEI_Admin_Links for comments
1256
	 * @return string
1257
	 */
1258
	public function get_admin_settings_link() {
1259
		EE_Registry::instance()->load_helper('URL');
1260
		return EEH_URL::add_query_args_and_nonce( array(
1261
			'page' => 'espresso_events',
1262
			'action' => 'default_event_settings'
1263
			),
1264
			admin_url( 'admin.php' )
1265
		);
1266
	}
1267
1268
1269
@@ 1277-1286 (lines=10) @@
1274
	 * @see EEI_Admin_Links for comments
1275
	 * @return string
1276
	 */
1277
	public function get_admin_overview_link() {
1278
1279
		EE_Registry::instance()->load_helper('URL');
1280
		return EEH_URL::add_query_args_and_nonce( array(
1281
			'page' => 'espresso_events',
1282
			'action' => 'default'
1283
		),
1284
			admin_url( 'admin.php' )
1285
		);
1286
	}
1287
1288
}
1289