forked from friendica/friendica-addons
more free Apps for the world
This commit is contained in:
parent
d1bf9bd4b7
commit
82ff2c2dd2
|
@ -11,6 +11,7 @@
|
||||||
use Friendica\Content\Text\BBCode;
|
use Friendica\Content\Text\BBCode;
|
||||||
use Friendica\Core\L10n;
|
use Friendica\Core\L10n;
|
||||||
use Friendica\Util\Emailer;
|
use Friendica\Util\Emailer;
|
||||||
|
use Friendica\App;
|
||||||
|
|
||||||
function notifyall_install()
|
function notifyall_install()
|
||||||
{
|
{
|
||||||
|
@ -24,13 +25,13 @@ function notifyall_uninstall()
|
||||||
|
|
||||||
function notifyall_module() {}
|
function notifyall_module() {}
|
||||||
|
|
||||||
function notifyall_addon_admin(&$a, &$o)
|
function notifyall_addon_admin(App &$a, &$o)
|
||||||
{
|
{
|
||||||
$o = '<div></div> <a href="' . z_root() . '/notifyall">' . L10n::t('Send email to all members') . '</a></br/>';
|
$o = '<div></div> <a href="' . z_root() . '/notifyall">' . L10n::t('Send email to all members') . '</a></br/>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function notifyall_post(&$a)
|
function notifyall_post(App &$a)
|
||||||
{
|
{
|
||||||
if(! is_site_admin())
|
if(! is_site_admin())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue