aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/scan.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-03 11:04:49 +0200
committerLukas Reschke <lukas@owncloud.com>2014-09-03 11:04:49 +0200
commit77c0adb520adcb100d2ef4fd0562330b209ee9ea (patch)
tree9bae923fa05f312c033722ad2c711cec01758ab0 /apps/files/ajax/scan.php
parent50b430ee7cadd6be1520d63acdac27bc06581e09 (diff)
parentfe74b397a53b8a568c15d1ccf779bc8b0425b3c5 (diff)
downloadnextcloud-server-77c0adb520adcb100d2ef4fd0562330b209ee9ea.tar.gz
nextcloud-server-77c0adb520adcb100d2ef4fd0562330b209ee9ea.zip
Merge branch 'securityutils' of https://github.com/owncloud/core into securityutils
Diffstat (limited to 'apps/files/ajax/scan.php')
-rw-r--r--apps/files/ajax/scan.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/scan.php b/apps/files/ajax/scan.php
index d5d88483801..3ec7f9394b1 100644
--- a/apps/files/ajax/scan.php
+++ b/apps/files/ajax/scan.php
@@ -1,6 +1,6 @@
<?php
set_time_limit(0); //scanning can take ages
-\OC::$session->close();
+\OC::$server->getSession()->close();
$force = (isset($_GET['force']) and ($_GET['force'] === 'true'));
$dir = isset($_GET['dir']) ? $_GET['dir'] : '';