Fixing sort of BaseURL usage for App & Cache usage

This commit is contained in:
Philipp Holzer 2019-08-04 19:02:16 +02:00
parent fba0574ec0
commit a66580444f
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
3 changed files with 26 additions and 17 deletions

View file

@ -6,6 +6,7 @@ namespace Friendica\Core;
use Friendica\BaseObject;
use Friendica\Network\HTTPException\InternalServerErrorException;
use Friendica\Util\BaseURL;
use Friendica\Util\XML;
/**
@ -29,7 +30,7 @@ class System extends BaseObject
*/
public static function baseUrl($ssl = false)
{
return self::getApp()->getBaseURL($ssl);
return self::getClass(BaseURL::class)->get($ssl);
}
/**