Changeset 103 for trunk/services
- Timestamp:
- Apr 19, 2006 3:14:28 AM (18 years ago)
- Location:
- trunk/services
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/services/login.php
r102 r103 16 16 17 17 if (getFormdata('username', false)) { 18 / * form has been submitted, check if the user login information is correct */18 // Form has been submitted, check if the user login information is correct. 19 19 20 20 if ($auth->login($frm['username'], $frm['password'])) { -
trunk/services/logout.php
r102 r103 5 5 */ 6 6 7 require_once 'codebase/lib/RecordLock.inc.php'; 8 9 // Delete this admin's record locks. 10 if (!isset($lock) || !is_a($lock, 'RecordLock')) { 7 if (is_a($auth_object, 'Auth_SQL')) { 8 // Delete the current user's record locks. 9 require_once 'codebase/lib/RecordLock.inc.php'; 11 10 $lock =& RecordLock::getInstance($auth); 11 $lock->removeAll($auth->getVal('user_id')); 12 12 } 13 $lock->removeAll($auth->getVal('user_id'));14 13 15 14 // Logout.
Note: See TracChangeset
for help on using the changeset viewer.