The notice and info have been moved
This commit is contained in:
@@ -34,7 +34,7 @@ class Directory extends BaseSearch
|
||||
protected function content(array $request = []): string
|
||||
{
|
||||
if (!local_user()) {
|
||||
notice(DI::l10n()->t('Permission denied.'));
|
||||
DI::sysmsg()->addNotice(DI::l10n()->t('Permission denied.'));
|
||||
return Login::form();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user