mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 14:03:16 +00:00
nitpickers
This commit is contained in:
parent
8401cfb6f9
commit
a74dbd6ad0
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ function notifyall_addon_admin(App $a, &$o)
|
||||||
|
|
||||||
function notifyall_post(App $a)
|
function notifyall_post(App $a)
|
||||||
{
|
{
|
||||||
if(! is_site_admin())
|
if(!is_site_admin())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,7 @@ function notifyall_post(App $a)
|
||||||
if (empty($a->config['admin_name']))
|
if (empty($a->config['admin_name']))
|
||||||
{
|
{
|
||||||
$sender_name = '"' . L10n::t('%s Administrator', $sitename) . '"';
|
$sender_name = '"' . L10n::t('%s Administrator', $sitename) . '"';
|
||||||
} else {
|
} else {
|
||||||
$sender_name = '"' . L10n::t('%1$s, %2$s Administrator', $a->config['admin_name'], $sitename) . '"';
|
$sender_name = '"' . L10n::t('%1$s, %2$s Administrator', $a->config['admin_name'], $sitename) . '"';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue