1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-14 10:57:38 +01:00

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;