From c546a6652ad38b5212457c3074c64a7fead4642d Mon Sep 17 00:00:00 2001 From: tetragon Date: Wed, 21 Mar 2007 17:46:58 +0000 Subject: Switching save to using the current LedgerSMB::User constructor git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@977 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/admin.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/admin.pl b/bin/admin.pl index c182371b..8c464cd1 100755 --- a/bin/admin.pl +++ b/bin/admin.pl @@ -295,7 +295,6 @@ sub list_users { $dbdrivers - $nologin @@ -736,7 +735,7 @@ sub save { # add base directory to $form->{templates} $form->{templates} = "${LedgerSMB::Sysconfig::templates}/$form->{templates}"; - $myconfig = LedgerSMB::User->new("${LedgerSMB::Sysconfig::memberfile}", "$form->{login}"); + $myconfig = LedgerSMB::User->new("$form->{login}"); # redo acs variable and delete all the acs codes @acs = split /;/, $form->{acs}; -- cgit v1.2.3