removed use Friendica\Core\System again

This commit is contained in:
Philipp Holzer 2018-10-24 20:24:22 +02:00
parent 48535c0959
commit 310d49b82a
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -8,7 +8,6 @@ use Detection\MobileDetect;
use DOMDocument; use DOMDocument;
use DOMXPath; use DOMXPath;
use Exception; use Exception;
use Friendica\Core\System;
use Friendica\Database\DBA; use Friendica\Database\DBA;
use Friendica\Network\HTTPException\InternalServerErrorException; use Friendica\Network\HTTPException\InternalServerErrorException;
@ -2019,7 +2018,7 @@ class App
{ {
if (filter_var($toUrl, FILTER_VALIDATE_URL)) if (filter_var($toUrl, FILTER_VALIDATE_URL))
{ {
System::externalRedirect($toUrl); Core\System::externalRedirect($toUrl);
} else { } else {
$this->internalRedirect($toUrl); $this->internalRedirect($toUrl);
} }