aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-07-30 15:20:25 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-07-30 15:20:25 -0400
commit4126a571aceca6266b565a0ef1f85cef5230a521 (patch)
tree3cbec7b46bc69b0fd1dfbc880b9fe8c0f6700882 /phpBB/includes/template
parente116561348b7bd3400bfe6acccf5eebaaaa7f562 (diff)
downloadforums-4126a571aceca6266b565a0ef1f85cef5230a521.tar
forums-4126a571aceca6266b565a0ef1f85cef5230a521.tar.gz
forums-4126a571aceca6266b565a0ef1f85cef5230a521.tar.bz2
forums-4126a571aceca6266b565a0ef1f85cef5230a521.tar.xz
forums-4126a571aceca6266b565a0ef1f85cef5230a521.zip
[feature/template-engine] Delete $files_template property.
This seems to have been used for db storage of templates. We no longer offer db storage of templates, and thus currenty $files_template is only written to but not read anywhere. PHPBB3-9726
Diffstat (limited to 'phpBB/includes/template')
-rw-r--r--phpBB/includes/template/template.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/phpBB/includes/template/template.php b/phpBB/includes/template/template.php
index 010284edf3..d2d035b3b5 100644
--- a/phpBB/includes/template/template.php
+++ b/phpBB/includes/template/template.php
@@ -58,7 +58,6 @@ class phpbb_template
public $filename = array();
public $files_inherit = array();
- public $files_template = array();
public $inherit_root = '';
public $orig_tpl_inherits_id;
@@ -340,7 +339,6 @@ class phpbb_template
$this->user->theme['template_inherits_id'] = $this->orig_tpl_inherits_id;
$compiled_path = $this->cachepath . str_replace('/', '.', $this->filename[$handle]) . '.' . $this->phpEx;
- $this->files_template[$handle] = (isset($this->user->theme['template_id'])) ? $this->user->theme['template_id'] : 0;
$recompile = defined('DEBUG_EXTRA') ||
!file_exists($compiled_path) ||
@@ -353,7 +351,6 @@ class phpbb_template
if ($this->user->theme['template_inherits_id'] && !file_exists($this->files[$handle]))
{
$this->files[$handle] = $this->files_inherit[$handle];
- $this->files_template[$handle] = $this->user->theme['template_inherits_id'];
}
$recompile = (@filemtime($compiled_path) < @filemtime($this->files[$handle])) ? true : false;
}
@@ -368,7 +365,6 @@ class phpbb_template
if (isset($this->user->theme['template_inherits_id']) && $this->user->theme['template_inherits_id'] && !file_exists($this->files[$handle]))
{
$this->files[$handle] = $this->files_inherit[$handle];
- $this->files_template[$handle] = $this->user->theme['template_inherits_id'];
}
$source_file = $this->_source_file_for_handle($handle);