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
|
|
@ -5,7 +5,7 @@ require_once('include/bbcode.php');
|
|||
require_once('include/items.php');
|
||||
|
||||
|
||||
function mood_init(&$a) {
|
||||
function mood_init(App &$a) {
|
||||
|
||||
if(! local_user())
|
||||
return;
|
||||
|
|
@ -108,7 +108,7 @@ function mood_init(&$a) {
|
|||
|
||||
|
||||
|
||||
function mood_content(&$a) {
|
||||
function mood_content(App &$a) {
|
||||
|
||||
if(! local_user()) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue