Revert "Merge pull request #275 from kadimi/patch-11"

This reverts commit 757c827b82, reversing
changes made to 22ee0eb2cc.
This commit is contained in:
Brian Miyaji
2018-07-16 13:24:05 +10:00
parent d0d18e0885
commit 3f0082baa4

View File

@@ -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(