mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 00:37:42 +02:00
change cache:: to phpbb_cache::
git-svn-id: file:///svn/phpbb/trunk@9226 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -682,7 +682,7 @@ function censor_text($text)
|
||||
}
|
||||
else
|
||||
{
|
||||
$censors = cache::obtain_word_list();
|
||||
$censors = phpbb_cache::obtain_word_list();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -754,7 +754,7 @@ function parse_attachments($forum_id, &$message, &$attachments, &$update_count,
|
||||
|
||||
if (empty($extensions) || !is_array($extensions))
|
||||
{
|
||||
$extensions = cache::obtain_attach_extensions($forum_id);
|
||||
$extensions = phpbb_cache::obtain_extensions_forum($forum_id);
|
||||
}
|
||||
|
||||
// Look for missing attachment information...
|
||||
@@ -1069,7 +1069,7 @@ function extension_allowed($forum_id, $extension, &$extensions)
|
||||
if (empty($extensions))
|
||||
{
|
||||
global $cache;
|
||||
$extensions = cache::obtain_attach_extensions($forum_id);
|
||||
$extensions = phpbb_cache::obtain_extensions_forum($forum_id);
|
||||
}
|
||||
|
||||
return (!isset($extensions['_allowed_'][$extension])) ? false : true;
|
||||
|
Reference in New Issue
Block a user