ispman/lib/ISPMan UserMan.pm,1.50,1.51

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-serv8087/lib/ISPMan

Modified Files:
	UserMan.pm 
Log Message:
API change for
* updateUsers: changed param from DN to uid,domain


Index: UserMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/UserMan.pm,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- UserMan.pm	15 Jul 2004 07:41:49 -0000	1.50
+++ UserMan.pm	15 Jul 2004 11:00:30 -0000	1.51
@@ -219,6 +219,7 @@
     my $dn = $self->getUserDN( $r->param("ispmanDomain"), $r->param("uid") );
 
     $self->{'user'} = $self->getEntryAsHashRef($dn);
+    $self->{'user'}{'dn'} = $dn;
 
     my $template;
     if ( $self->isDomainEditable( $r->param("ispmanDomain") ) ) {
@@ -308,7 +309,7 @@
 sub update_user {
     my $self = shift;
     my $r    = shift;
-    my $dn   = $r->param("dn");
+    my $dn   = $self->getUserDN( $r->param("ispmanDomain"), $r->param("uid") );
 
     my $data = {};
     for (



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&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.