-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move init template #19144
Move init template #19144
Conversation
@@ -668,14 +610,16 @@ public static function init() { | |||
OC_User::setupBackends(); | |||
} | |||
|
|||
if (\OC::$server->getService() !== 'webdav') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to leave these changes for a seperate PR and keep this PR for just the initTemplateEngine stuff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes - just because this check is kind of fragile - basically anything which is handled via remote.php can be treated as non template related execution
reduced to moving of initTemplateEngine() |
closing in favor of #19293 |
moving
initTemplateEngine()
into the constructor of the template itself as proposed by @icewind1991#19114 (comment)