diff options
author | redmatrix <git@macgirvin.com> | 2016-03-31 17:32:51 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-31 17:32:51 -0700 |
commit | c0b3d7e1b480ceeed89b71efd056ed9edda2dfef (patch) | |
tree | 433552545eb0c746fb48666afdb74ff472bf17b1 /mod/invite.php | |
parent | 50d9b2934742ad9fb0dc8354d405789e3c14cd00 (diff) | |
parent | 9abd95fad3784a10fc48bc40f9b8a75d7d74edda (diff) | |
download | volse-hubzilla-c0b3d7e1b480ceeed89b71efd056ed9edda2dfef.tar.gz volse-hubzilla-c0b3d7e1b480ceeed89b71efd056ed9edda2dfef.tar.bz2 volse-hubzilla-c0b3d7e1b480ceeed89b71efd056ed9edda2dfef.zip |
Merge branch 'static'
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"), |