Revert "Fix - Get player list based on team id"

This reverts commit 859a6f7317.
This commit is contained in:
Brian Miyaji
2018-05-08 11:13:05 +10:00
parent 87074fa217
commit 435f117220
4 changed files with 1 additions and 239 deletions

View File

@@ -49,13 +49,6 @@ class SP_REST_API {
if ( ! class_exists( 'SP_REST_Terms_Controller' ) ) {
require_once dirname( __FILE__ ) . '/class-sp-rest-terms-controller.php';
}
// Create Player Controller
if ( ! class_exists( 'SP_REST_Players_Controller' ) ) {
require_once dirname( __FILE__ ) . '/class-sp-rest-players-controller.php';
$player_controller = new SP_REST_Players_Controller();
$player_controller->register_routes();
}
do_action( 'sportspress_create_rest_routes' );
}