aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-08-25 12:19:57 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-08-25 12:19:57 +0000
commitc9ecb5dee73cacf7a805189db3f34cdc14703f45 (patch)
tree88b5402fe49d0777f6f6aae9dc10196acbfdf15f /phpBB/style.php
parent48b54bb29e12ec0dc052a688ccc5c18856675d97 (diff)
downloadforums-c9ecb5dee73cacf7a805189db3f34cdc14703f45.tar
forums-c9ecb5dee73cacf7a805189db3f34cdc14703f45.tar.gz
forums-c9ecb5dee73cacf7a805189db3f34cdc14703f45.tar.bz2
forums-c9ecb5dee73cacf7a805189db3f34cdc14703f45.tar.xz
forums-c9ecb5dee73cacf7a805189db3f34cdc14703f45.zip
Fix style recompilation now we do not force the SID to be passed anymore. This also fixes the problems users see after updates, where styles are not always instantly updated, as well as helping style authors a lot. ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10056 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/style.php')
-rw-r--r--phpBB/style.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/style.php b/phpBB/style.php
index 40d34c598c..0b4c3d0d41 100644
--- a/phpBB/style.php
+++ b/phpBB/style.php
@@ -92,7 +92,8 @@ if ($id)
if (!$user)
{
$id = ($id) ? $id : $config['default_style'];
- $recompile = false;
+// Commented out because calls do not always include the SID anymore
+// $recompile = false;
$user = array('user_id' => ANONYMOUS);
}