CVS: ispman/lib/ISPMan DNSMan.pm,1.27,1.28
Atif Ghaffar <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/lib/ISPMan
In directory sc8-pr-cvs1:/tmp/cvs-serv30940
Modified Files:
DNSMan.pm
Log Message:
just return and dont give error if entry is not found
Index: DNSMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/DNSMan.pm,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** DNSMan.pm 2 Aug 2003 22:29:33 -0000 1.27
--- DNSMan.pm 13 Sep 2003 04:12:27 -0000 1.28
***************
*** 238,241 ****
--- 238,242 ----
my $entry=$self->getEntry($branch, "txtRecord=ispmanVirtualHost:$vhost.$domain", [], 'sub');
+ return unless $entry;
if (defined $entry->dn){
$self->deleteEntry($entry->dn);
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf