mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:40:17 +00:00
Replace calls for App::getThemeInfo() with AppHelper
This commit is contained in:
parent
2ac926dfb2
commit
536234a9c6
1 changed files with 2 additions and 2 deletions
|
@ -155,9 +155,9 @@ class Renderer
|
|||
if (isset(self::$template_engine_instance[$template_engine])) {
|
||||
return self::$template_engine_instance[$template_engine];
|
||||
} else {
|
||||
$a = DI::app();
|
||||
$appHelper = DI::apphelper();
|
||||
$class = self::$template_engines[$template_engine];
|
||||
$obj = new $class($a->getCurrentTheme(), $a->getThemeInfo());
|
||||
$obj = new $class($appHelper->getCurrentTheme(), $appHelper->getThemeInfo());
|
||||
self::$template_engine_instance[$template_engine] = $obj;
|
||||
return $obj;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue