@@ -643,11 +643,11 @@ public function __construct($webRoot, \OC\Config $config) {
643
643
ArrayCache::class,
644
644
ArrayCache::class
645
645
);
646
- /** @var \OCP\IConfig $config */
647
- $ config = $ c ->get (\ OCP \IConfig ::class);
646
+ /** @var SystemConfig $config */
647
+ $ config = $ c ->get (SystemConfig ::class);
648
648
649
- if ($ config ->getSystemValueBool ('installed ' , false ) && !(defined ('PHPUNIT_RUN ' ) && PHPUNIT_RUN )) {
650
- if (!$ config ->getSystemValueBool ('log_query ' )) {
649
+ if ($ config ->getValue ('installed ' , false ) && !(defined ('PHPUNIT_RUN ' ) && PHPUNIT_RUN )) {
650
+ if (!$ config ->getValue ('log_query ' )) {
651
651
try {
652
652
$ v = \OC_App::getAppVersions ();
653
653
} catch (\Doctrine \DBAL \Exception $ e ) {
@@ -671,10 +671,10 @@ public function __construct($webRoot, \OC\Config $config) {
671
671
return new \OC \Memcache \Factory ($ prefix ,
672
672
$ c ->get (LoggerInterface::class),
673
673
$ profiler ,
674
- $ config ->getSystemValue ('memcache.local ' , null ),
675
- $ config ->getSystemValue ('memcache.distributed ' , null ),
676
- $ config ->getSystemValue ('memcache.locking ' , null ),
677
- $ config ->getSystemValueString ('redis_log_file ' )
674
+ $ config ->getValue ('memcache.local ' , null ),
675
+ $ config ->getValue ('memcache.distributed ' , null ),
676
+ $ config ->getValue ('memcache.locking ' , null ),
677
+ $ config ->getValue ('redis_log_file ' )
678
678
);
679
679
}
680
680
return $ arrayCacheFactory ;
0 commit comments