Changeset 6088
- Timestamp:
- 06/01/07 11:36:43 (1 year ago)
- Files:
-
- trunk/src/midcom.core/midcom/services/auth.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/midcom.core/midcom/services/auth.php
r5987 r6088 1145 1145 if (is_string($user)) 1146 1146 { 1147 if ( mgd_is_guid($user) 1148 || is_numeric($user)) 1147 if ($user != 'EVERYONE' 1148 && ( mgd_is_guid($user) 1149 || is_numeric($user))) 1149 1150 { 1150 1151 $user =& $_MIDCOM->auth->get_user($user); … … 1160 1161 if (!isset($cache_user_id)) 1161 1162 { 1162 $cache_user_id = $user; 1163 if (is_object($user)) 1164 { 1165 $cache_user_id = $user->id; 1166 } 1167 else 1168 { 1169 $cache_user_id = $user; 1170 } 1163 1171 } 1164 1172 if (!class_exists($object_class)) … … 1472 1480 function require_valid_user($method = 'form') 1473 1481 { 1482 debug_push_class(__CLASS__, __FUNCTION__); 1483 debug_add("require_valid_user called", MIDCOM_LOG_DEBUG); 1484 debug_print_function_stack("require_valid_user called at this level"); 1485 debug_pop(); 1474 1486 if (! $this->is_valid_user()) 1475 1487 {
