X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Fdelete.mc;h=c1b65ff33cfea2b97b7326a33029a3f8a9170344;hp=5a75bbfd57f8637ad87a2c0bb9c49963d3593ff2;hb=cebe42fb63c536380b8cb2a1b195013b12486860;hpb=d1dbf0b771f8bc5aa6fc09ee3d51785ba69312b7 diff --git a/web/htdocs/details/delete.mc b/web/htdocs/details/delete.mc index 5a75bbf..c1b65ff 100644 --- a/web/htdocs/details/delete.mc +++ b/web/htdocs/details/delete.mc @@ -1,4 +1,4 @@ -%# $Id: delete.mc,v 1.1 2007-01-02 17:27:08 mike Exp $ +%# $Id: delete.mc,v 1.5 2007-02-20 19:21:26 mike Exp $ <%args> $id $really => 0 @@ -11,17 +11,18 @@ $really => 0

Yes
- No
+ No

% } else { <%perl> - my $conn = new ZOOM::Connection("localhost:3313/IR-Explain---1", 0, + my $conn = new ZOOM::Connection("localhost:8018/IR-Explain---1", 0, user => "admin", password => "fruitbat", elementSetName => "zeerex"); # I am thinking that ZOOM should provide delete(), update(), etc. my $p = $conn->package(); $p->option(action => "recordDelete"); $p->option(recordIdOpaque => $id); + $p->option(record => ""); # Work around Zebra bug $p->send("update"); $p->destroy();