static App

This commit is contained in:
redmatrix
2016-03-31 16:06:03 -07:00
parent 256c228efd
commit 9abd95fad3
231 changed files with 52688 additions and 52684 deletions

View File

@@ -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"),