aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/session.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r--phpBB/includes/session.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 573cbdd2c6..1f62abc93d 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -1402,11 +1402,9 @@ class user extends session
trigger_error('Could not get style data', E_USER_ERROR);
}
- // Now parse the cfg file and cache it
- $parsed_items = cache::obtain_cfg_items($this->theme);
-
- // We are only interested in the theme configuration for now
- $parsed_items = $parsed_items['theme'];
+ // Now parse the cfg file and cache it,
+ // we are only interested in the theme configuration for now
+ $parsed_items = cache::obtain_cfg_item($this->theme, 'theme');
$check_for = array(
'parse_css_file' => (int) 0,