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/media | |
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/media')
-rw-r--r-- | apps/media/ajax/api.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/media/ajax/api.php b/apps/media/ajax/api.php index a229c17e804..23abc579272 100644 --- a/apps/media/ajax/api.php +++ b/apps/media/ajax/api.php @@ -46,6 +46,9 @@ if(!isset($arguments['album'])){ if(!isset($arguments['search'])){ $arguments['search']=''; } + +session_write_close(); + OC_MEDIA_COLLECTION::$uid=OCP\USER::getUser(); if($arguments['action']){ switch($arguments['action']){ |