Skip to content

Commit

Permalink
network deactivate tagregator
Browse files Browse the repository at this point in the history
  • Loading branch information
timiwahalahti authored and iandunn committed Sep 28, 2023
1 parent 0d2ffed commit 5727f4e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ function _get_network_plugin_state_list( $state ) {
'wordcamp-wiki/bootstrap.php',
'wordcamp-qbo/wordcamp-qbo.php',
'wp-cldr/wp-cldr.php',
'tagregator/bootstrap.php',
),
);

Expand All @@ -89,10 +90,7 @@ function _get_network_plugin_state_list( $state ) {

$network_id = get_current_network_id();

if ( WORDCAMP_NETWORK_ID === $network_id ) {
$network_plugin_state['activated'][] = 'tagregator/bootstrap.php';
} elseif ( EVENTS_NETWORK_ID === $network_id ) {
$network_plugin_state['deactivated'][] = 'tagregator/bootstrap.php';
if ( EVENTS_NETWORK_ID === $network_id ) {
$network_plugin_state['activated'][] = 'camptix-attendee-survey/camptix-attendee-survey.php';
$network_plugin_state['activated'][] = 'wordcamp-organizer-survey/wordcamp-organizer-survey.php';
}
Expand Down

0 comments on commit 5727f4e

Please sign in to comment.