X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FTheme.php;h=cc8f914528afd07d5012fd6c55284425e81e79ca;hb=8632c903276c44d575076ac3167e3bc7ea64bd31;hp=0540267af71787ab759b487ea5576bd8aeca3406;hpb=c1f99c70b1c7d62120723f3b142e843ba25ab338;p=friendica.git diff --git a/src/Module/Theme.php b/src/Module/Theme.php index 0540267af7..cc8f914528 100644 --- a/src/Module/Theme.php +++ b/src/Module/Theme.php @@ -3,6 +3,7 @@ namespace Friendica\Module; use Friendica\BaseModule; +use Friendica\DI; use Friendica\Util\Strings; /** @@ -10,11 +11,11 @@ use Friendica\Util\Strings; */ class Theme extends BaseModule { - public static function rawContent() + public static function rawContent(array $parameters = []) { header("Content-Type: text/css"); - $a = self::getApp(); + $a = DI::app(); if ($a->argc == 4) { $theme = $a->argv[2];