Prevent officials meta box from loading without active module

This commit is contained in:
Brian Miyaji
2017-11-18 13:25:56 +11:00
parent a40652e42a
commit 715158fe3d

View File

@@ -130,13 +130,6 @@ class SP_Admin_Meta_Boxes {
'context' => 'side',
'priority' => 'default',
),
'officials' => array(
'title' => __( 'Officials', 'sportspress' ),
'save' => 'SP_Meta_Box_Event_Officials::save',
'output' => 'SP_Meta_Box_Event_Officials::output',
'context' => 'side',
'priority' => 'default',
),
'details' => array(
'title' => __( 'Details', 'sportspress' ),
'save' => 'SP_Meta_Box_Event_Details::save',