Update of /cvsroot/ispman/ispman/lib/ISPMan
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1266
Modified Files:
ApacheMan.pm
Log Message:
fixed bug: suspend/unsuspend vhost was not returning the edit form
Index: ApacheMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/ApacheMan.pm,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- ApacheMan.pm 5 Feb 2004 08:43:21 -0000 1.48
+++ ApacheMan.pm 13 Feb 2004 20:36:08 -0000 1.49
@@ -161,6 +161,8 @@
my $dn=$self->getVhostDN($domain, $vhost);
$self->updateEntryWithData($dn, {'FTPStatus' => 'disabled', 'ispmanStatus' => "suspended"});
$self->addVhostProcess($domain, $vhost, "ModifyVirtualHost", $vhost);
+
+ return 1;
}
sub unsuspend_vhost {
@@ -169,6 +171,8 @@
my $dn=$self->getVhostDN($domain, $vhost);
$self->updateEntryWithData($dn, {'FTPStatus' => 'enabled', 'ispmanStatus' => "active"});
$self->addVhostProcess($domain, $vhost, "ModifyVirtualHost", $vhost);
+
+ return 1;
}
sub update_vhost {
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
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.