]> source.dussan.org Git - nextcloud-server.git/commit
Cleanup theming mess 17673/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Fri, 25 Oct 2019 11:31:19 +0000 (13:31 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Fri, 25 Oct 2019 11:31:19 +0000 (13:31 +0200)
commite71f2220821974aaf2f2b3357c0505e13a541b5a
tree6027904602224faec1042d685bef49750ac12673
parent6a560fd51eee392c9cbcca91eea3f2bb6a307f0c
Cleanup theming mess

* Do not do translations in the constructor. This gets called to early
so there is no user yet. Which means we can't obtain the locale. Which
means we store the wrong translation instance.

* Same for the theming app magic. Just use the parent call when needed.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/theming/lib/ThemingDefaults.php
lib/private/legacy/defaults.php