aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_pm_viewmessage.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-11-12 15:35:43 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-11-12 15:35:43 +0000
commitd89f60f182afa07e28d4e58f59b90dd25555e3a6 (patch)
treeb326dbe53f284a7127ea8a63cccc7119dc77783d /phpBB/includes/ucp/ucp_pm_viewmessage.php
parentb0217ddc11799f81c8cf42961f6e0db54ce2e38e (diff)
downloadforums-d89f60f182afa07e28d4e58f59b90dd25555e3a6.tar
forums-d89f60f182afa07e28d4e58f59b90dd25555e3a6.tar.gz
forums-d89f60f182afa07e28d4e58f59b90dd25555e3a6.tar.bz2
forums-d89f60f182afa07e28d4e58f59b90dd25555e3a6.tar.xz
forums-d89f60f182afa07e28d4e58f59b90dd25555e3a6.zip
consistant obtain_* functions
git-svn-id: file:///svn/phpbb/trunk@6572 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_viewmessage.php')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewmessage.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewmessage.php b/phpBB/includes/ucp/ucp_pm_viewmessage.php
index ad386ea4b5..8da8f0bd18 100644
--- a/phpBB/includes/ucp/ucp_pm_viewmessage.php
+++ b/phpBB/includes/ucp/ucp_pm_viewmessage.php
@@ -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'])