removed use Friendica\Core\System again
This commit is contained in:
parent
48535c0959
commit
310d49b82a
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue