forked from GNUsocial/gnu-social
[PLUGIN][AttachmentCollections] changes path name to be the same as the one introduced in c4dacd7626
This commit is contained in:
parent
672df5165c
commit
e932ff43d0
@ -98,7 +98,7 @@ class AttachmentCollections extends Plugin
|
|||||||
*/
|
*/
|
||||||
public function onAppendRightPanelBlock($vars, Request $request, &$res): bool
|
public function onAppendRightPanelBlock($vars, Request $request, &$res): bool
|
||||||
{
|
{
|
||||||
if ($vars['path'] !== 'attachment_show') {
|
if ($vars['path'] !== 'note_attachment_show') {
|
||||||
return Event::next;
|
return Event::next;
|
||||||
}
|
}
|
||||||
$user = Common::user();
|
$user = Common::user();
|
||||||
|
Loading…
Reference in New Issue
Block a user