mirror of
https://github.com/friendica/friendica
synced 2025-04-24 01:10:11 +00:00
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
|
@ -17,7 +17,7 @@ require_once('include/Scrape.php');
|
|||
require_once('include/Probe.php');
|
||||
require_once('include/group.php');
|
||||
|
||||
function dfrn_request_init(&$a) {
|
||||
function dfrn_request_init(App &$a) {
|
||||
|
||||
if($a->argc > 1)
|
||||
$which = $a->argv[1];
|
||||
|
@ -42,7 +42,7 @@ function dfrn_request_init(&$a) {
|
|||
* After logging in, we click 'submit' to approve the linkage.
|
||||
*
|
||||
*/
|
||||
function dfrn_request_post(&$a) {
|
||||
function dfrn_request_post(App &$a) {
|
||||
|
||||
if(($a->argc != 2) || (! count($a->profile))) {
|
||||
logger('Wrong count of argc or profiles: argc=' . $a->argc . ',profile()=' . count($a->profile));
|
||||
|
@ -654,7 +654,7 @@ function dfrn_request_post(&$a) {
|
|||
}
|
||||
|
||||
|
||||
function dfrn_request_content(&$a) {
|
||||
function dfrn_request_content(App &$a) {
|
||||
|
||||
if (($a->argc != 2) || (! count($a->profile))) {
|
||||
return "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue