mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 19:54:33 +02:00
Normalize App parameter declaration (mod folder, 1 out of 3)
This commit is contained in:
parent
ee39aba490
commit
8a197055e3
42 changed files with 172 additions and 174 deletions
|
@ -17,7 +17,7 @@ require_once('include/Scrape.php');
|
|||
require_once('include/Probe.php');
|
||||
require_once('include/group.php');
|
||||
|
||||
function dfrn_request_init(App &$a) {
|
||||
function dfrn_request_init(App $a) {
|
||||
|
||||
if($a->argc > 1)
|
||||
$which = $a->argv[1];
|
||||
|
@ -42,7 +42,7 @@ function dfrn_request_init(App &$a) {
|
|||
* After logging in, we click 'submit' to approve the linkage.
|
||||
*
|
||||
*/
|
||||
function dfrn_request_post(App &$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));
|
||||
|
@ -658,7 +658,7 @@ function dfrn_request_post(App &$a) {
|
|||
}
|
||||
|
||||
|
||||
function dfrn_request_content(App &$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