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
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
require_once("include/plugin.php");
|
||||
|
||||
function nodeinfo_wellknown(&$a) {
|
||||
function nodeinfo_wellknown(App &$a) {
|
||||
if (!get_config("system", "nodeinfo")) {
|
||||
http_status_exit(404);
|
||||
killme();
|
||||
|
|
@ -20,7 +20,7 @@ function nodeinfo_wellknown(&$a) {
|
|||
exit;
|
||||
}
|
||||
|
||||
function nodeinfo_init(&$a){
|
||||
function nodeinfo_init(App &$a){
|
||||
if (!get_config("system", "nodeinfo")) {
|
||||
http_status_exit(404);
|
||||
killme();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue