From 8dd5db4d01e331c866e2385e3ebb713cf2fcf55e Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Mon, 3 Sep 2001 03:56:12 +0000 Subject: [PATCH] Swap old/new update_lastlogin() --- phpgwapi/inc/class.auth_ldap.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.auth_ldap.inc.php b/phpgwapi/inc/class.auth_ldap.inc.php index dd2dcb8a98..1f5cbd986d 100644 --- a/phpgwapi/inc/class.auth_ldap.inc.php +++ b/phpgwapi/inc/class.auth_ldap.inc.php @@ -98,7 +98,7 @@ } /* This data needs to be updated in LDAP, not SQL (jengo) */ - function update_lastlogin($account_id, $ip) + function old_update_lastlogin($account_id, $ip) { $GLOBALS['phpgw']->db->query("SELECT account_lastlogin FROM phpgw_accounts WHERE account_id='$account_id'",__LINE__,__FILE__); $GLOBALS['phpgw']->db->next_record(); @@ -111,7 +111,7 @@ . "' WHERE account_id='$account_id'",__LINE__,__FILE__); } - function new_update_lastlogin($_account_id, $ip) + function update_lastlogin($_account_id, $ip) { $entry['phpgwaccountlastlogin'] = time(); $entry['phpgwaccountlastloginfrom'] = $ip;