Replace "notice" calls

This commit is contained in:
Michael 2022-10-17 11:27:32 +00:00
parent 62a0d55fc8
commit 4ff7c37f85
10 changed files with 42 additions and 42 deletions

View file

@ -41,7 +41,7 @@ function notes_init(App $a)
function notes_content(App $a, $update = false)
{
if (!local_user()) {
notice(DI::l10n()->t('Permission denied.'));
DI::sysmsg()->addNotice(DI::l10n()->t('Permission denied.'));
return;
}