From 3f0082baa4a1e524516c860db030d096f041b9e5 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Mon, 16 Jul 2018 13:24:05 +1000 Subject: [PATCH] Revert "Merge pull request #275 from kadimi/patch-11" This reverts commit 757c827b8212572caecabfa9f05e7cf1423357b2, reversing changes made to 22ee0eb2cc6d6514e61e5a3b80568808e3a0f574. --- includes/class-sp-event.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/includes/class-sp-event.php b/includes/class-sp-event.php index 4f6bf9e5..af9a6bda 100644 --- a/includes/class-sp-event.php +++ b/includes/class-sp-event.php @@ -89,10 +89,6 @@ class SP_Event extends SP_Custom_Post{ public function performance( $admin = false ) { $teams = get_post_meta( $this->ID, 'sp_team', false ); - if ( 'yes' === get_option( 'sportspress_event_reverse_teams', 'no' ) ) { - $teams = array_reverse( $teams, true ); - } - $performance = (array)get_post_meta( $this->ID, 'sp_players', true ); $args = array(