mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Replace "notice" calls
This commit is contained in:
parent
62a0d55fc8
commit
4ff7c37f85
10 changed files with 42 additions and 42 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue