BDMR foundation.php FCM patch — ROLLBACK
=========================================
The patch adds ONE additive line to repair/foundation.php function bdmr_event():
    do_action('bdmr_event_recorded',$event_id,$oid,$run,$type,$old,$new,$payload);
and enriches the bdmr_command() $response payload with four integer fields
(rider_id, run_id, prev_rider_id, prev_run_id).

ROLLBACK (instant, no data loss):
  1. Restore the pre-patch repair/foundation.php from your backup, OR
     revert by removing the single do_action line and the four payload fields.
  2. Confirm the restored foundation.php SHA-256 matches the recorded original.
  3. Delete wp-content/mu-plugins/bharati-delivery-fcm.php (the FCM bridge).
     The bh_rider_devices / bh_fcm_outbox tables are additive and inert without
     the plugin; leave them or DROP them — no business data is affected.
  4. Verify: Rider Portal + /delivery-panel/ load; one bdmr_read works;
     an assignment commits. bdmr_event_recorded simply no longer fires.
Sending was never enabled, so no notifications were ever sent.
