show-thread event

This commit is contained in:
Michael Foster 2013-09-15 03:54:09 +10:00
parent 92550d5084
commit 9d770f456f

View File

@ -512,6 +512,8 @@ class Thread {
public function build($index=false) { public function build($index=false) {
global $board, $config, $debug; global $board, $config, $debug;
event('show-thread', $this);
$built = Element('post_thread.html', array('config' => $config, 'board' => $board, 'post' => &$this, 'index' => $index)); $built = Element('post_thread.html', array('config' => $config, 'board' => $board, 'post' => &$this, 'index' => $index));
return $built; return $built;