mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-30 18:24:29 +01:00
show-thread event
This commit is contained in:
parent
92550d5084
commit
9d770f456f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user