Escape global namespaced get_app() calls

- Add deprecated status
This commit is contained in:
Hypolite Petovan 2018-12-27 19:22:35 -05:00
parent b8030313e5
commit 5e1ceb57de
52 changed files with 135 additions and 133 deletions

View file

@ -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);