forked from GNUsocial/gnu-social
[TWIG] Remove unused Twig function 'get_note_other_content'
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user