aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2025-05-16 17:07:53 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2025-05-16 17:07:53 +0200
commit278fdc311a2ec447fbb7f76a9867f63a95b3fd08 (patch)
treee9f7b5bacf61f679500c82f7dc874c74b855bc7a /lib
parentad34a7c99174316b5fe09b60a72af88360c007e9 (diff)
downloadnextcloud-server-278fdc311a2ec447fbb7f76a9867f63a95b3fd08.tar.gz
nextcloud-server-278fdc311a2ec447fbb7f76a9867f63a95b3fd08.zip
fix: Switch lazy object to enabled by default on PHP 8.4feat/use-php84-lazy-objects
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 5aca4c4818d..c10b04eff33 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -632,7 +632,7 @@ class OC {
}
// Enable lazy loading if activated
- \OC\AppFramework\Utility\SimpleContainer::$useLazyObjects = (bool)self::$config->getValue('enable_lazy_objects');
+ \OC\AppFramework\Utility\SimpleContainer::$useLazyObjects = (bool)self::$config->getValue('enable_lazy_objects', true);
// setup the basic server
self::$server = new \OC\Server(\OC::$WEBROOT, self::$config);