[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [977] branches/1.2/bin/admin.pl



Revision: 977
          http://svn.sourceforge.net/ledger-smb/?rev=977&view=rev
Author:   tetragon
Date:     2007-03-21 10:46:58 -0700 (Wed, 21 Mar 2007)

Log Message:
-----------
Switching save to using the current LedgerSMB::User constructor

Modified Paths:
--------------
    branches/1.2/bin/admin.pl

Modified: branches/1.2/bin/admin.pl
===================================================================
--- branches/1.2/bin/admin.pl	2007-03-21 16:24:25 UTC (rev 976)
+++ branches/1.2/bin/admin.pl	2007-03-21 17:46:58 UTC (rev 977)
@@ -295,7 +295,6 @@
 		<button type="submit" class="submit" name="action" value="change_admin_password">|.$locale->text('Change Admin Password').qq|</button>
 
 		$dbdrivers
-		$nologin
 
 		<button type="submit" class="submit" name="action" value="logout">|.$locale->text('Logout').qq|</button>
 		</form>
@@ -736,7 +735,7 @@
 	# 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};


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.