Changeset 547 for trunk/cgi-bin/admin.cgi
- Timestamp:
- 11/08/12 17:56:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/admin.cgi
r546 r547 229 229 } elsif ($webvar{action} eq 'touch') { 230 230 231 $page->param(master => $webvar{whichmaster}); 232 $sth = $ip_dbh->prepare("update masterblocks set mtime=now() where cidr='$webvar{whichmaster}'"); 233 $sth->execute; 234 if ($sth->err) { 235 $page->param(errmsg => $sth->errstr); 236 } 231 my ($code,$msg) = touchMaster($ip_dbh, $webvar{whichmaster}); 232 $page->param(errmsg => $msg) if $code eq 'FAIL'; 237 233 238 234 } elsif ($webvar{action} eq 'listcust') {
Note:
See TracChangeset
for help on using the changeset viewer.