aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-07-02 12:22:42 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-07-02 12:22:42 -0500
commit985a233a78af7350387dfb9b8a924d09df767f05 (patch)
treea81e0538d45f0a4eeb9f182d0dcbc961425cc542
parentf39edcea3fb12c4f3ce9606772887c93d629f2d4 (diff)
downloadforums-985a233a78af7350387dfb9b8a924d09df767f05.tar
forums-985a233a78af7350387dfb9b8a924d09df767f05.tar.gz
forums-985a233a78af7350387dfb9b8a924d09df767f05.tar.bz2
forums-985a233a78af7350387dfb9b8a924d09df767f05.tar.xz
forums-985a233a78af7350387dfb9b8a924d09df767f05.zip
[feature/twig] Remove reference to cachepath, it is not used publicly anymore
PHPBB3-11598
-rw-r--r--phpBB/includes/style/style.php2
-rw-r--r--phpBB/includes/template/twig/twig.php5
2 files changed, 4 insertions, 3 deletions
diff --git a/phpBB/includes/style/style.php b/phpBB/includes/style/style.php
index 493c4512a6..29cdcf0f7f 100644
--- a/phpBB/includes/style/style.php
+++ b/phpBB/includes/style/style.php
@@ -160,8 +160,6 @@ class phpbb_style
$this->template->set_style_names($names, $appended_paths);
}
- //$this->template->cachepath = $this->phpbb_root_path . 'cache/tpl_' . str_replace('_', '-', $name) . '_';
-
return true;
}
diff --git a/phpBB/includes/template/twig/twig.php b/phpBB/includes/template/twig/twig.php
index 347db0b94c..98bd1ab89c 100644
--- a/phpBB/includes/template/twig/twig.php
+++ b/phpBB/includes/template/twig/twig.php
@@ -30,9 +30,12 @@ class phpbb_template_twig implements phpbb_template
/**
* Path of the cache directory for the template
+ *
+ * Cannot be changed during runtime.
+ *
* @var string
*/
- public $cachepath = '';
+ private $cachepath = '';
/**
* phpBB root path