]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Replace "notice" calls
[friendica.git] / mod / notes.php
index b5bdbf870f8c2031031620c57a792c9eedb354ec..a30d807693b7c2ad497adb27ae4e2f753c35099b 100644 (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;
        }