forked from friendica/friendica-addons
nitpickers
This commit is contained in:
parent
8401cfb6f9
commit
a74dbd6ad0
|
@ -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