From 82ff2c2dd2f74ea72f00b013bb9bb41109d8e6c7 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 13 May 2018 17:16:06 +0200 Subject: [PATCH] more free Apps for the world --- notifyall/notifyall.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/notifyall/notifyall.php b/notifyall/notifyall.php index a8b22a67..8596328e 100644 --- a/notifyall/notifyall.php +++ b/notifyall/notifyall.php @@ -11,6 +11,7 @@ use Friendica\Content\Text\BBCode; use Friendica\Core\L10n; use Friendica\Util\Emailer; +use Friendica\App; function notifyall_install() { @@ -24,13 +25,13 @@ function notifyall_uninstall() function notifyall_module() {} -function notifyall_addon_admin(&$a, &$o) +function notifyall_addon_admin(App &$a, &$o) { $o = '
    ' . L10n::t('Send email to all members') . '
'; } -function notifyall_post(&$a) +function notifyall_post(App &$a) { if(! is_site_admin()) {