refactor(2meet-data-optimizer-hivepress-addon): remove comment mirror writes to never-created tables
- Favorites/Messages adapters reduced to detection only; Requests keeps hot_hp_request fields, drops hp_offer mirror - Delete TMDO_HivePress_Comment_Router (read path to wpdo_comment_hp_* tables that no installer creates) - Verify: addon unit 141 OK, integration 52 OK; phpcs 41E/57W → 35E/48W - PR: PR-013
This commit is contained in:
@@ -118,12 +118,9 @@ if ( ! class_exists( 'TMDO_HivePress_Bootstrap' ) ) {
|
||||
self::bind_adapter( $slug, $version );
|
||||
}
|
||||
|
||||
// Step 5: register cross-cutting components (router + cron optimizer).
|
||||
// Both are gated by their own opt-in option and only activate when
|
||||
// the operator flips it; safe to call here unconditionally.
|
||||
if ( class_exists( 'TMDO_HivePress_Comment_Router' ) ) {
|
||||
TMDO_HivePress_Comment_Router::register();
|
||||
}
|
||||
// Step 5: register the cron optimizer. It is gated by its own opt-in
|
||||
// option and only activates when the operator flips it; safe to call
|
||||
// here unconditionally.
|
||||
if ( class_exists( 'TMDO_HivePress_Cron_Optimizer' ) ) {
|
||||
TMDO_HivePress_Cron_Optimizer::register();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user