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-20 11:29:15 +0200
commitd06cda4ec0e932cd3e6939a690f988fca95fbecf (patch)
treef0ae390cdf2f2eb29efc39d5240a69ee0881b727 /lib
parent6610af28ff267cdf14eb1b498355467a8afc27ab (diff)
downloadnextcloud-server-d06cda4ec0e932cd3e6939a690f988fca95fbecf.tar.gz
nextcloud-server-d06cda4ec0e932cd3e6939a690f988fca95fbecf.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 bcca62b4ac0..1ccaf80d1a8 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -633,7 +633,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);