ispman/lib/ISPMan UserMan.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.sourceforge.net:/tmp/cvs-serv22762/lib/ISPMan

Modified Files:
	UserMan.pm 
Log Message:
fixed bug [ 1062127 ] delete user does not work

Index: UserMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/UserMan.pm,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- UserMan.pm	30 Dec 2004 01:26:32 -0000	1.54
+++ UserMan.pm	1 Jan 2005 20:39:20 -0000	1.55
@@ -275,12 +275,10 @@
     my $self = shift;
     my $r    = shift;
 
-    my $uid    = $r->param("uid");
-    my $domain = $r->param("ispmanDomain");
-    $self->killUser( $r->param("dn") );
-    if ( $r->param("nsroaming") eq "Y" ) {
-        $self->deleteRoaming($r);
-    }
+    my $dn   = $self->getUserDN( $r->param("ispmanDomain"), $r->param("uid") );
+
+    $self->killUser( $dn );
+
     print $self->refreshSignal( $r->param("ispmanDomain") );
 
     # This message should be sent via some message template



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
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.