diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-06-16 01:35:39 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-06-16 01:35:39 +0200 |
commit | bf2062b09d6c3a3d1c8b94b3612b6bb940aa5b79 (patch) | |
tree | b1144a7a7d3c665402f9208d46e343fc83ac125d /apps/files/ajax/scan.php | |
parent | 195c37f88a803055c92fd38f33a4eb7a1440e5ab (diff) | |
download | nextcloud-server-bf2062b09d6c3a3d1c8b94b3612b6bb940aa5b79.tar.gz nextcloud-server-bf2062b09d6c3a3d1c8b94b3612b6bb940aa5b79.zip |
write_close the session when scanning files or music
Diffstat (limited to 'apps/files/ajax/scan.php')
-rw-r--r-- | apps/files/ajax/scan.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/ajax/scan.php b/apps/files/ajax/scan.php index d695ce81617..6fcf97688c2 100644 --- a/apps/files/ajax/scan.php +++ b/apps/files/ajax/scan.php @@ -10,6 +10,7 @@ if(!$checkOnly){ $eventSource=new OC_EventSource(); } +session_write_close(); //create the file cache if necesary if($force or !OC_FileCache::inCache('')){ |