Code Duplication    Length = 7-8 lines in 2 locations

caffeinated/admin/extend/registrations/Extend_Registrations_Admin_Page.core.php 1 location

@@ 459-465 (lines=7) @@
456
	*		@access protected
457
	*		@return void
458
	*/
459
	protected function _registration_reports() {
460
		$template_path = EE_ADMIN_TEMPLATE . 'admin_reports.template.php';
461
		$this->_template_args['admin_page_content'] = EEH_Template::display_template( $template_path, $this->_reports_template_data, true );
462
		// the final template wrapper
463
		$this->display_admin_page_with_no_sidebar();
464
465
	}
466
467
468
	/**

caffeinated/admin/extend/transactions/Extend_Transactions_Admin_Page.core.php 1 location

@@ 128-135 (lines=8) @@
125
	*
126
	* @return void
127
	*/
128
	protected function _transaction_reports() {
129
		$template_path = EE_ADMIN_TEMPLATE . 'admin_reports.template.php';
130
		$this->_admin_page_title = __('Transactions', 'event_espresso');
131
		$this->_template_args['admin_page_content'] = EEH_Template::display_template( $template_path, $this->_reports_template_data, TRUE );
132
133
		// the final template wrapper
134
		$this->display_admin_page_with_no_sidebar();
135
	}
136
137
138