mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/12612] Prefix _sort_last_active() with phpbb_
PHPBB3-12612
This commit is contained in:
@@ -1588,7 +1588,7 @@ function phpbb_show_profile($data, $user_notes_enabled = false, $warn_user_enabl
|
||||
return $template_data;
|
||||
}
|
||||
|
||||
function _sort_last_active($first, $second)
|
||||
function phpbb_sort_last_active($first, $second)
|
||||
{
|
||||
global $id_cache, $sort_dir;
|
||||
|
||||
|
@@ -1400,7 +1400,7 @@ switch ($mode)
|
||||
if ($sort_key == 'l')
|
||||
{
|
||||
// uasort($id_cache, create_function('$first, $second', "return (\$first['last_visit'] == \$second['last_visit']) ? 0 : ((\$first['last_visit'] < \$second['last_visit']) ? $lesser_than : ($lesser_than * -1));"));
|
||||
usort($user_list, '_sort_last_active');
|
||||
usort($user_list, 'phpbb_sort_last_active');
|
||||
}
|
||||
|
||||
for ($i = 0, $end = sizeof($user_list); $i < $end; ++$i)
|
||||
|
Reference in New Issue
Block a user