Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions data-machine-events.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ function data_machine_events_sanitize_query_params( $value ) {
require_once DATA_MACHINE_EVENTS_PLUGIN_DIR . 'inc/Core/event-dates-sync.php';
require_once DATA_MACHINE_EVENTS_PLUGIN_DIR . 'inc/Core/EventDatesTable.php';

// Artist URL Submissions table (moderation queue for the #320 import flow).
require_once DATA_MACHINE_EVENTS_PLUGIN_DIR . 'inc/Core/ArtistUrlSubmissionsTable.php';
add_action( 'plugins_loaded', array( \DataMachineEvents\Core\ArtistUrlSubmissionsTable::class, 'maybe_install' ), 20 );

// Global alias — event-dates-sync.php is namespaced so this makes the public API accessible globally.
if ( ! function_exists( 'datamachine_get_event_dates' ) ) {
/**
Expand Down Expand Up @@ -194,10 +190,6 @@ public function init() {
new \DataMachineEvents\Admin\Settings_Page();
}

// Artist URL Submissions moderation queue (extrachill-events#320).
if ( class_exists( 'DataMachineEvents\\Admin\\ArtistUrlSubmissionsAdmin' ) ) {
new \DataMachineEvents\Admin\ArtistUrlSubmissionsAdmin();
}
}

add_action( 'init', array( $this, 'init_data_machine_integration' ), 25 );
Expand Down Expand Up @@ -448,11 +440,6 @@ function ( array $templates ): array {
new \DataMachineEvents\Abilities\MergedBillDecideAbilities();
}

if ( file_exists( DATA_MACHINE_EVENTS_PLUGIN_DIR . 'inc/Abilities/ArtistUrlImportAbilities.php' ) ) {
require_once DATA_MACHINE_EVENTS_PLUGIN_DIR . 'inc/Abilities/ArtistUrlImportAbilities.php';
new \DataMachineEvents\Abilities\ArtistUrlImportAbilities();
}

// Chat tools for the merged-bill agent decision step (issue #256).
if ( class_exists( 'DataMachineEvents\\Api\\Chat\\Tools\\MergedBillInspect' ) ) {
new \DataMachineEvents\Api\Chat\Tools\MergedBillInspect();
Expand Down Expand Up @@ -575,7 +562,6 @@ public function enqueue_admin_assets( $hook ) {

public function activate() {
\DataMachineEvents\Core\EventDatesTable::create_table();
\DataMachineEvents\Core\ArtistUrlSubmissionsTable::create_table();
$this->register_post_types();
$this->register_taxonomies();
flush_rewrite_rules();
Expand Down
Loading
Loading