diff options
| author | Marcin Łabanowski <marcin@6irc.net> | 2013-01-23 17:19:31 +0100 |
|---|---|---|
| committer | Marcin Łabanowski <marcin@6irc.net> | 2013-01-23 17:19:31 +0100 |
| commit | 25268f3876ecd955f193058acf550aae2c690be1 (patch) | |
| tree | 0ef646c665f3693d046a4d3d28c146bdcc9012a4 /inc/display.php | |
| parent | 18ca523b185874bed900b35dd1f28c0f78f44acd (diff) | |
| parent | cd81ae8ea586bd3a4a05b0070dcb496fa2c8bd71 (diff) | |
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/inc/display.php b/inc/display.php index 75ea1cdf..011a953c 100644 --- a/inc/display.php +++ b/inc/display.php @@ -435,16 +435,7 @@ class Thread { $built = Element('post_thread.html', array('config' => $config, 'board' => $board, 'post' => &$this, 'index' => $index)); - if (!$this->mod && $index && $config['cache']['enabled']) { - cache::set($this->cache_key($index), $built); - } - return $built; } - function cache_key($index) { - global $board; - - return 'thread_' . ($index ? 'index_' : '') . $board['uri'] . '_' . $this->id; - } }; |
