Normalize App parameter declaration (mod folder, 3 out of 3)
This commit is contained in:
parent
ee39aba490
commit
a7ce601580
41 changed files with 78 additions and 78 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
require_once('include/message.php');
|
||||
|
||||
function wallmessage_post(App &$a) {
|
||||
function wallmessage_post(App $a) {
|
||||
|
||||
$replyto = get_my_url();
|
||||
if(! $replyto) {
|
||||
|
|
@ -73,7 +73,7 @@ function wallmessage_post(App &$a) {
|
|||
}
|
||||
|
||||
|
||||
function wallmessage_content(App &$a) {
|
||||
function wallmessage_content(App $a) {
|
||||
|
||||
if(! get_my_url()) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
|
|
@ -134,9 +134,9 @@ function wallmessage_content(App &$a) {
|
|||
'$nickname' => $user['nickname'],
|
||||
'$linkurl' => t('Please enter a link URL:')
|
||||
));
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$tpl = get_markup_template('wallmessage.tpl');
|
||||
$o .= replace_macros($tpl,array(
|
||||
'$header' => t('Send Private Message'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue