function _devel_switch_user_list_cmp in Devel 6
Same name and namespace in other branches
- 7 devel.module \_devel_switch_user_list_cmp()
Comparison helper function for uasort() in devel_switch_user_list().
Sorts the Switch User links by the user's last access timestamp.
1 string reference to '_devel_switch_user_list_cmp'
File
- ./
devel.module, line 738
Code
function _devel_switch_user_list_cmp($a, $b) {
return $b['last_access'] - $a['last_access'];
}