[TWIG] Remove unused Twig function 'get_note_other_content'

This commit is contained in:
2021-05-05 13:35:02 +00:00
parent f0c6aa761b
commit 6591d78a9c
3 changed files with 5 additions and 21 deletions

View File

@@ -68,21 +68,6 @@ class Runtime implements RuntimeExtensionInterface, EventSubscriberInterface
return $actions;
}
/**
* get extra note content
*
* @param Note $note
*
* @return array|mixed note content
*/
public function getNoteOtherContent(Note $note)
{
$other = [];
Event::handle('show_note_content', [$this->request, $note, &$other]);
return $other;
}
public function getConfig(...$args)
{
return Common::config(...$args);