Remove sample team abbreviation

This commit is contained in:
Brian Miyaji
2015-10-07 01:12:15 +11:00
parent 4bff0de5c4
commit 5324a71c94

View File

@@ -113,17 +113,14 @@ class SP_Admin_Sample_Data {
$teams = array( $teams = array(
array( array(
'name' => 'Bluebirds', 'name' => 'Bluebirds',
'abbreviation' => 'BENT',
'url' => 'http://tboy.co/bluebirds', 'url' => 'http://tboy.co/bluebirds',
), ),
array( array(
'name' => 'Eagles', 'name' => 'Eagles',
'abbreviation' => 'ESS',
'url' => 'http://tboy.co/eagles', 'url' => 'http://tboy.co/eagles',
), ),
array( array(
'name' => 'Kangaroos', 'name' => 'Kangaroos',
'abbreviation' => 'KENS',
'url' => 'http://tboy.co/kangaroos', 'url' => 'http://tboy.co/kangaroos',
), ),
); );
@@ -187,7 +184,6 @@ class SP_Admin_Sample_Data {
update_post_meta( $id, '_sp_sample', 1 ); update_post_meta( $id, '_sp_sample', 1 );
// Update meta // Update meta
update_post_meta( $id, 'sp_abbreviation', $team['abbreviation'] );
update_post_meta( $id, 'sp_url', $team['url'] ); update_post_meta( $id, 'sp_url', $team['url'] );
} }