diff options
author | redmatrix <git@macgirvin.com> | 2016-03-31 16:06:03 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-31 16:06:03 -0700 |
commit | 9abd95fad3784a10fc48bc40f9b8a75d7d74edda (patch) | |
tree | 3cf2eec6a29f384b80a8c607aa97172b84e37e62 /mod/invite.php | |
parent | 256c228efd249f2ce93405db8e36f52030aa4876 (diff) | |
download | volse-hubzilla-9abd95fad3784a10fc48bc40f9b8a75d7d74edda.tar.gz volse-hubzilla-9abd95fad3784a10fc48bc40f9b8a75d7d74edda.tar.bz2 volse-hubzilla-9abd95fad3784a10fc48bc40f9b8a75d7d74edda.zip |
static App
Diffstat (limited to 'mod/invite.php')
-rw-r--r-- | mod/invite.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/invite.php b/mod/invite.php index 7f4df6cc8..2adad8257 100644 --- a/mod/invite.php +++ b/mod/invite.php @@ -53,10 +53,10 @@ function invite_post(&$a) { else $nmessage = $message; - $account = $a->get_account(); + $account = App::get_account(); - $res = mail($recip, sprintf( t('Please join us on $Projectname'), $a->config['sitename']), + $res = mail($recip, sprintf( t('Please join us on $Projectname'), App::$config['sitename']), $nmessage, "From: " . $account['account_email'] . "\n" . 'Content-type: text/plain; charset=UTF-8' . "\n" @@ -118,11 +118,11 @@ function invite_content(&$a) { } } - $ob = $a->get_observer(); + $ob = App::get_observer(); if(! $ob) return $o; - $channel = $a->get_channel(); + $channel = App::get_channel(); $o = replace_macros($tpl, array( '$form_security_token' => get_form_security_token("send_invite"), |