mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
consistant obtain_* functions
git-svn-id: file:///svn/phpbb/trunk@6572 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -26,8 +26,7 @@ function view_folder($id, $mode, $folder_id, $folder)
|
||||
$user->add_lang('viewforum');
|
||||
|
||||
// Grab icons
|
||||
$icons = array();
|
||||
$cache->obtain_icons($icons);
|
||||
$icons = $cache->obtain_icons();
|
||||
|
||||
$color_rows = array('marked', 'replied');
|
||||
|
||||
|
@@ -35,8 +35,7 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
|
||||
}
|
||||
|
||||
// Grab icons
|
||||
$icons = array();
|
||||
$cache->obtain_icons($icons);
|
||||
$icons = $cache->obtain_icons();
|
||||
|
||||
$bbcode = false;
|
||||
|
||||
@@ -395,8 +394,7 @@ function get_user_informations($user_id, $user_row)
|
||||
}
|
||||
|
||||
// Grab ranks
|
||||
$ranks = array();
|
||||
$cache->obtain_ranks($ranks);
|
||||
$ranks = $cache->obtain_ranks();
|
||||
|
||||
// Generate online information for user
|
||||
if ($config['load_onlinetrack'])
|
||||
|
Reference in New Issue
Block a user