Escape global namespaced get_app() calls
- Add deprecated status
This commit is contained in:
@@ -74,7 +74,7 @@ class Probe
|
||||
*/
|
||||
private static function ownHost($host)
|
||||
{
|
||||
$own_host = get_app()->getHostName();
|
||||
$own_host = \get_app()->getHostName();
|
||||
|
||||
$parts = parse_url($host);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user