CVS: ispman/lib/ISPMan DomainMan.pm,1.54,1.55

Joerg Delker <[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-serv21645

Modified Files:
	DomainMan.pm 
Log Message:
fixed bug #739636 (deleteDomain does not delete vhosts)


Index: DomainMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/DomainMan.pm,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -r1.54 -r1.55
*** DomainMan.pm	8 Jan 2004 20:02:55 -0000	1.54
--- DomainMan.pm	9 Jan 2004 00:49:59 -0000	1.55
***************
*** 416,419 ****
--- 416,424 ----
  
  
+    # delete all vhosts of domain
+    my $vhosts=$self->getApacheVhosts($domain);
+    for my $vhost(keys %$vhosts) {
+       $self->delete_vhost($vhost,$domain);
+    }
  
     # Now Delete the rest of the tree.



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.