mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 19:38:49 +00:00
Remove "notice" with new function
This commit is contained in:
parent
57e9404729
commit
897dbb30cf
10 changed files with 21 additions and 21 deletions
|
@ -39,7 +39,7 @@ function tumblr_module() {}
|
|||
function tumblr_content(App $a)
|
||||
{
|
||||
if (!local_user()) {
|
||||
notice(DI::l10n()->t('Permission denied.') . EOL);
|
||||
DI::sysmsg()->addNotice(DI::l10n()->t('Permission denied.') . EOL);
|
||||
return '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue