Update options during upgrade

This commit is contained in:
Brian Miyaji
2017-01-06 22:13:26 +11:00
parent f0890f51d5
commit 67a278a3a3

View File

@@ -426,6 +426,8 @@ class SP_Install {
if ( version_compare( $version, '2.2', '<' ) ) {
update_option( 'sportspress_frontend_styles', 'no' );
update_option( 'sportspress_event_show_timeline', 'no' );
update_option( 'sportspress_event_logos_show_team_names', 'no' );
}
}