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
|
@ -27,7 +27,7 @@ require_once('include/Scrape.php');
|
|||
require_once('include/diaspora.php');
|
||||
require_once('include/Contact.php');
|
||||
|
||||
function item_post(&$a) {
|
||||
function item_post(App &$a) {
|
||||
|
||||
if((! local_user()) && (! remote_user()) && (! x($_REQUEST,'commenter')))
|
||||
return;
|
||||
|
@ -1065,7 +1065,7 @@ function item_post_return($baseurl, $api_source, $return_path) {
|
|||
|
||||
|
||||
|
||||
function item_content(&$a) {
|
||||
function item_content(App &$a) {
|
||||
|
||||
if((! local_user()) && (! remote_user()))
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue