Remove "notice" with new function

This commit is contained in:
Michael 2022-10-17 20:17:25 +00:00
parent 57e9404729
commit 897dbb30cf
10 changed files with 21 additions and 21 deletions

View file

@ -60,7 +60,7 @@ function pumpio_module() {}
function pumpio_content(App $a)
{
if (!local_user()) {
notice(DI::l10n()->t('Permission denied.') . EOL);
DI::sysmsg()->addNotice(DI::l10n()->t('Permission denied.') . EOL);
return '';
}