aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_styles.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2011-09-20 20:00:21 +0100
committerChris Smith <toonarmy@phpbb.com>2011-09-20 21:06:52 +0100
commit934a9da313fd6af6986b5320314a2859a1526a1b (patch)
treeee0c1ca721d3e0497cc6925d5fc96816808c664a /phpBB/includes/acp/acp_styles.php
parentb1df91db806f814d24948db773c27f15a731147e (diff)
downloadforums-934a9da313fd6af6986b5320314a2859a1526a1b.tar
forums-934a9da313fd6af6986b5320314a2859a1526a1b.tar.gz
forums-934a9da313fd6af6986b5320314a2859a1526a1b.tar.bz2
forums-934a9da313fd6af6986b5320314a2859a1526a1b.tar.xz
forums-934a9da313fd6af6986b5320314a2859a1526a1b.zip
[feature/remove-db-styles] Remove style.php DB storage.
Removed all use of the DB for serving/caching the theme from style.php, acp_style no longer stores the theme modified time either. As a consequence currently all stylesheets will be served through style.php (with no caching) until imagesets are removed [PHPBB3-10336], then they can we served as static files by HTTPd. PHPBB3-9741
Diffstat (limited to 'phpBB/includes/acp/acp_styles.php')
-rw-r--r--phpBB/includes/acp/acp_styles.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php
index c4c01fbc44..388f340e07 100644
--- a/phpBB/includes/acp/acp_styles.php
+++ b/phpBB/includes/acp/acp_styles.php
@@ -1265,7 +1265,7 @@ version = {VERSION}
trigger_error($user->lang['NO_' . $l_prefix] . adm_back_link($this->u_action), E_USER_WARNING);
}
- $var_ary = array('style_id', 'style_name', 'style_copyright', 'template_id', 'template_name', 'template_path', 'template_copyright', 'template_inherits_id', 'bbcode_bitfield', 'theme_id', 'theme_name', 'theme_path', 'theme_copyright', 'theme_mtime');
+ $var_ary = array('style_id', 'style_name', 'style_copyright', 'template_id', 'template_name', 'template_path', 'template_copyright', 'template_inherits_id', 'bbcode_bitfield', 'theme_id', 'theme_name', 'theme_path', 'theme_copyright');
foreach ($var_ary as $var)
{
@@ -2439,11 +2439,6 @@ version = {VERSION}
break;
case 'theme':
- // We are only interested in the theme configuration for now
-
- $sql_ary += array(
- 'theme_mtime' => (int) filemtime("{$phpbb_root_path}styles/$path/theme/stylesheet.css")
- );
break;
}