Changeset 876 for trunk/cgi-bin


Ignore:
Timestamp:
05/13/16 16:59:48 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Remove a debugging wwarn that snuck in somewhere
Tweak argument-relaying in rpc_deleteBlock for consistency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/ipdb-rpc.cgi

    r870 r876  
    326326        "SELECT id FROM poolips WHERE ip = ? AND ".($args{parent} ? "parent_id = ?" : "vrf = ?"),
    327327        undef, $args{block}, ($args{parent} ? $args{parent} : $args{vrf}) );
    328     warn "passed block $args{block} guessed as $args{block}\n";
    329328  }
    330329
    331330  # snag block info for log
    332331  my $blockinfo = getBlockData($ip_dbh, $args{block}, $args{type});
    333   my ($code,$msg) = deleteBlock($ip_dbh, $args{block}, $args{type}, $args{delfwd}, $args{rpcuser});
     332  my ($code,$msg) = deleteBlock($ip_dbh, $args{block}, $args{type}, $args{delforward}, $args{rpcuser});
    334333
    335334  my $authuser = "$args{rpcsystem}/$args{rpcuser}";
Note: See TracChangeset for help on using the changeset viewer.