changed to this:
--------------------- function bla (App &$a) { $a->bla = 'stuff'; } --------------------- Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
fb0ed18a43
commit
4dce3d8224
121 changed files with 225 additions and 220 deletions
|
@ -4,7 +4,7 @@ require_once('include/acl_selectors.php');
|
|||
require_once('include/message.php');
|
||||
require_once('include/Smilies.php');
|
||||
|
||||
function message_init(&$a) {
|
||||
function message_init(App &$a) {
|
||||
|
||||
$tabs = '';
|
||||
|
||||
|
@ -40,7 +40,7 @@ function message_init(&$a) {
|
|||
|
||||
}
|
||||
|
||||
function message_post(&$a) {
|
||||
function message_post(App &$a) {
|
||||
|
||||
if(! local_user()) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
|
@ -173,7 +173,7 @@ function item_redir_and_replace_images($body, $images, $cid) {
|
|||
|
||||
|
||||
|
||||
function message_content(&$a) {
|
||||
function message_content(App &$a) {
|
||||
|
||||
$o = '';
|
||||
nav_set_selected('messages');
|
||||
|
@ -364,7 +364,7 @@ function message_content(&$a) {
|
|||
|
||||
$_SESSION['return_url'] = $a->query_string;
|
||||
|
||||
if($a->argc == 1) {
|
||||
if ($a->argc == 1) {
|
||||
|
||||
// List messages
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue