mirror of
https://github.com/friendica/friendica
synced 2025-05-09 15:04:10 +02:00
Remove afterpost() handling
This commit is contained in:
parent
85304b6e8f
commit
8f741c8b78
7 changed files with 0 additions and 27 deletions
|
@ -318,9 +318,6 @@ class Module
|
|||
$this->module_class->put();
|
||||
}
|
||||
|
||||
Core\Hook::callAll($this->module . '_mod_afterpost', $placeholder);
|
||||
$this->module_class->afterpost();
|
||||
|
||||
// "rawContent" is especially meant for technical endpoints.
|
||||
// This endpoint doesn't need any theme initialization or other comparable stuff.
|
||||
$this->module_class->rawContent();
|
||||
|
|
|
@ -352,9 +352,6 @@ class Page implements ArrayAccess
|
|||
$arr = ['content' => $content];
|
||||
Hook::callAll($moduleClass->getClassName() . '_mod_content', $arr);
|
||||
$content = $arr['content'];
|
||||
$arr = ['content' => $moduleClass->content()];
|
||||
Hook::callAll($moduleClass->getClassName() . '_mod_aftercontent', $arr);
|
||||
$content .= $arr['content'];
|
||||
} catch (HTTPException $e) {
|
||||
$content = (new ModuleHTTPException())->content($e);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue