diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-12-24 14:44:19 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-12-24 14:44:19 +0000 |
commit | 3cd007c49d776b4e76f939dbd7d7c328bd09abe9 (patch) | |
tree | 287c795585bd490712255b17d0962ce5e838c36b /phpBB/includes/functions_posting.php | |
parent | ac37f87105173ae50c357c96ffee43ef4d4b41f5 (diff) | |
download | forums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.tar forums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.tar.gz forums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.tar.bz2 forums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.tar.xz forums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.zip |
change cache:: to phpbb_cache::
git-svn-id: file:///svn/phpbb/trunk@9226 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index b4f6252078..c7749539ae 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -248,7 +248,7 @@ function posting_gen_topic_icons($mode, $icon_id) global $config, $template, $cache; // Grab icons - $icons = cache::obtain_icons(); + $icons = phpbb_cache::obtain_icons(); if (!$icon_id) { @@ -376,7 +376,7 @@ function upload_attachment($form_name, $forum_id, $local = false, $local_storage return $filedata; } - $extensions = cache::obtain_attach_extensions((($is_message) ? false : (int) $forum_id)); + $extensions = ($is_message) ? phpbb_cache::obtain_extensions_pm() : phpbb_cache::obtain_extensions_forum($forum_id); $upload->set_allowed_extensions(array_keys($extensions['_allowed_'])); $file = ($local) ? $upload->local_upload($local_storage, $local_filedata) : $upload->form_upload($form_name); @@ -998,7 +998,7 @@ function topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id $extensions = $attachments = array(); if ($has_attachments && $auth->acl_get('u_download') && $auth->acl_get('f_download', $forum_id)) { - $extensions = cache::obtain_attach_extensions($forum_id); + $extensions = phpbb_cache::obtain_extensions_forum($forum_id); // Get attachments... $sql = 'SELECT * |