diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-04-22 16:21:15 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-05-28 13:35:45 +0300 |
commit | 6aa6ab3e02c1ab50992c824b85ecc1a45988379c (patch) | |
tree | d09f950d2905d24497cea60fe3042dd2f62f89a1 /lib/base.php | |
parent | 1d469fc06e6a6755dbb5543b33fecb9ff2b57340 (diff) |
Add lazy events for the Node API
Right now if you want to get events via the Node API you have to have a
real instance of the Root. Which in turns sets up the whole FS.
We should make sure this is done lazy. Else enabling the preview
generator for example makes you setup the whole FS on each and every
authenticated call.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index b1f9569926f..3ac6d978e4e 100644 --- a/lib/base.php +++ b/lib/base.php @@ -597,6 +597,7 @@ class OC { // setup the basic server self::$server = new \OC\Server(\OC::$WEBROOT, self::$config); + self::$server->boot(); \OC::$server->getEventLogger()->log('autoloader', 'Autoloader', $loaderStart, $loaderEnd); \OC::$server->getEventLogger()->start('boot', 'Initialize'); |