aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/OC_FileChunking.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/OC_FileChunking.php')
-rw-r--r--lib/private/legacy/OC_FileChunking.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_FileChunking.php b/lib/private/legacy/OC_FileChunking.php
index e3782cabb4a..58bdd0af3d0 100644
--- a/lib/private/legacy/OC_FileChunking.php
+++ b/lib/private/legacy/OC_FileChunking.php
@@ -49,7 +49,7 @@ class OC_FileChunking {
*/
public function __construct($info) {
$this->info = $info;
- $this->ttl = \OC::$server->getConfig()->getSystemValue('cache_chunk_gc_ttl', 86400);
+ $this->ttl = \OC::$server->getConfig()->getSystemValueInt('cache_chunk_gc_ttl', 86400);
}
public function getPrefix() {