aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cache.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/cache.php')
-rw-r--r--phpBB/includes/cache.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/phpBB/includes/cache.php b/phpBB/includes/cache.php
index a8931f3163..1f22d60a7f 100644
--- a/phpBB/includes/cache.php
+++ b/phpBB/includes/cache.php
@@ -79,7 +79,7 @@ class cache extends acm
return array();
}
- if (($censors = $this->get('word_censors')) === false)
+ if (($censors = $this->get('_word_censors')) === false)
{
$sql = 'SELECT word, replacement
FROM ' . WORDS_TABLE;
@@ -93,7 +93,7 @@ class cache extends acm
}
$db->sql_freeresult($result);
- $this->put('word_censors', $censors);
+ $this->put('_word_censors', $censors);
}
return $censors;
@@ -104,7 +104,7 @@ class cache extends acm
*/
function obtain_icons()
{
- if (($icons = $this->get('icons')) === false)
+ if (($icons = $this->get('_icons')) === false)
{
global $db;
@@ -124,7 +124,7 @@ class cache extends acm
}
$db->sql_freeresult($result);
- $this->put('icons', $icons);
+ $this->put('_icons', $icons);
}
return $icons;
@@ -135,7 +135,7 @@ class cache extends acm
*/
function obtain_ranks()
{
- if (($ranks = $this->get('ranks')) === false)
+ if (($ranks = $this->get('_ranks')) === false)
{
global $db;
@@ -165,7 +165,7 @@ class cache extends acm
}
$db->sql_freeresult($result);
- $this->put('ranks', $ranks);
+ $this->put('_ranks', $ranks);
}
return $ranks;
@@ -285,7 +285,7 @@ class cache extends acm
*/
function obtain_bots()
{
- if (($bots = $this->get('bots')) === false)
+ if (($bots = $this->get('_bots')) === false)
{
global $db;
@@ -323,7 +323,7 @@ class cache extends acm
}
$db->sql_freeresult($result);
- $this->put('bots', $bots);
+ $this->put('_bots', $bots);
}
return $bots;