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.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/includes/cache.php b/phpBB/includes/cache.php
index 31b8b73e10..fc9a01ae4e 100644
--- a/phpBB/includes/cache.php
+++ b/phpBB/includes/cache.php
@@ -63,7 +63,7 @@ class cache extends acm
$this->put('config', $cached_config);
}
-
+
return $config;
}
@@ -103,7 +103,7 @@ class cache extends acm
if (($icons = $this->get('_icons')) === false)
{
global $db;
-
+
// Topic icons
$sql = 'SELECT *
FROM ' . ICONS_TABLE . '
@@ -134,7 +134,7 @@ class cache extends acm
if (($ranks = $this->get('_ranks')) === false)
{
global $db;
-
+
$sql = 'SELECT *
FROM ' . RANKS_TABLE . '
ORDER BY rank_min DESC';
@@ -284,7 +284,7 @@ class cache extends acm
if (($bots = $this->get('_bots')) === false)
{
global $db;
-
+
switch ($db->sql_layer)
{
case 'mssql':
@@ -321,7 +321,7 @@ class cache extends acm
$this->put('_bots', $bots);
}
-
+
return $bots;
}