function storageHandler(request, response) {
    do_check_eq("DELETE", request.method);
    do_check_true(request.hasHeader("X-Confirm-Delete"));

    _("Wiping out all collections.");
    cryptoColl.delete({});
    clients.delete({});
    metaColl.delete({});

    let ts = new_timestamp();
    collectionsHelper.update_collection("crypto", ts);
    collectionsHelper.update_collection("clients", ts);
    collectionsHelper.update_collection("meta", ts);
    return_timestamp(request, response, ts);
  }
/**
   * Handle the bulk DELETE request sent by wipeServer.
   */
Handle the bulk DELETE request sent by wipeServer.
Handle the bulk DELETE request sent by wipeServer .
function storageHandler(request, response) {
    do_check_eq("DELETE", request.method);
    do_check_true(request.hasHeader("X-Confirm-Delete"));
    _("Wiping out all collections.");
    cryptoColl.delete({});
    clients.delete({});
    metaColl.delete({});
    let ts = new_timestamp();
    collectionsHelper.update_collection("crypto", ts);
    collectionsHelper.update_collection("clients", ts);
    collectionsHelper.update_collection("meta", ts);
    return_timestamp(request, response, ts);
  }
function storageHandler ( request , response ) { do_check_eq ( "DELETE" , request . method ) ; do_check_true ( request . hasHeader ( "X-Confirm-Delete" ) ) ; _ ( "Wiping out all collections." ) ; cryptoColl . delete ( { } ) ; clients . delete ( { } ) ; metaColl . delete ( { } ) ; let ts = new_timestamp ( ) ; collectionsHelper . update_collection ( "crypto" , ts ) ; collectionsHelper . update_collection ( "clients" , ts ) ; collectionsHelper . update_collection ( "meta" , ts ) ; return_timestamp ( request , response , ts ) ; }
Handle the bulk DELETE request sent by wipeServer.
Handle the bulk DELETE request sent by wipeServer .