mirror of
https://github.com/friendica/friendica
synced 2025-05-02 04:24:22 +02:00
Move internal recursion-counter to the end of all cur/fetchUrl parameters
This commit is contained in:
parent
10683a43c8
commit
cc7444d84d
15 changed files with 34 additions and 38 deletions
|
@ -107,8 +107,7 @@ class Search extends BaseObject
|
|||
$searchUrl .= '&page=' . $page;
|
||||
}
|
||||
|
||||
$red = 0;
|
||||
$resultJson = Network::fetchUrl($searchUrl, false, $red, 0, 'application/json');
|
||||
$resultJson = Network::fetchUrl($searchUrl, false, 0, 'application/json');
|
||||
|
||||
$results = json_decode($resultJson, true);
|
||||
|
||||
|
|
|
@ -983,7 +983,7 @@ class Worker
|
|||
}
|
||||
|
||||
$url = System::baseUrl()."/worker";
|
||||
Network::fetchUrl($url, false, $redirects, 1);
|
||||
Network::fetchUrl($url, false, 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue