mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:50:20 +00:00
Escape global namespaced get_app() calls
- Add deprecated status
This commit is contained in:
parent
b8030313e5
commit
5e1ceb57de
52 changed files with 135 additions and 133 deletions
|
@ -94,7 +94,7 @@ class Network
|
|||
|
||||
$stamp1 = microtime(true);
|
||||
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
$parts = parse_url($url);
|
||||
$path_parts = explode('/', defaults($parts, 'path', ''));
|
||||
|
@ -251,7 +251,7 @@ class Network
|
|||
return CurlResult::createErrorCurl($url);
|
||||
}
|
||||
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
$ch = curl_init($url);
|
||||
|
||||
if (($redirects > 8) || (!$ch)) {
|
||||
|
@ -604,7 +604,7 @@ class Network
|
|||
*/
|
||||
public static function finalUrl($url, $depth = 1, $fetchbody = false)
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
$url = self::stripTrackingQueryParams($url);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue