changed to this:

---------------------
function bla (App &$a) {
	$a->bla = 'stuff';
}
---------------------

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-20 10:58:55 +01:00
commit 4dce3d8224
121 changed files with 225 additions and 220 deletions

View file

@ -2,7 +2,7 @@
require_once("include/Photo.php");
function profile_photo_init(&$a) {
function profile_photo_init(App &$a) {
if(! local_user()) {
return;
@ -13,7 +13,7 @@ function profile_photo_init(&$a) {
}
function profile_photo_post(&$a) {
function profile_photo_post(App &$a) {
if(! local_user()) {
notice ( t('Permission denied.') . EOL );
@ -169,7 +169,7 @@ function profile_photo_post(&$a) {
if(! function_exists('profile_photo_content')) {
function profile_photo_content(&$a) {
function profile_photo_content(App &$a) {
if(! local_user()) {
notice( t('Permission denied.') . EOL );