mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
tiny alterations/bugfixes
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8691 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user