]> source.dussan.org Git - nextcloud-server.git/commit
Cleanup theming mess 17687/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Fri, 25 Oct 2019 11:31:19 +0000 (13:31 +0200)
committerBackportbot <backportbot-noreply@rullzer.com>
Sat, 26 Oct 2019 10:15:46 +0000 (10:15 +0000)
commit4dc91420cfa172f512912da7d7f819d51b63b257
tree627bff1217811eb5ef4a734526724810bff0cfc0
parent70fea997afd3c8cb1c8bcf01e7d7ba58a94764bf
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