function _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'
devel_switch_user_list in ./devel.module
Provides the Switch user list.

File

./devel.module, line 993

Code

function _devel_switch_user_list_cmp($a, $b) {
    return $b['last_access'] - $a['last_access'];
}