Commit 2972a6ed55dfd3231af11a73adc8bde0d39c3f0f

Authored by nbm
1 parent e4484ef0

Disable time limits when performing bulk operations.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5284 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktcore/folder/BulkImport.php
... ... @@ -89,6 +89,9 @@ class KTBulkImportFolderAction extends KTFolderAction {
89 89 }
90 90  
91 91 function do_import() {
  92 +
  93 + set_time_limit(0);
  94 +
92 95 $aErrorOptions = array(
93 96 'redirect_to' => array('main', sprintf('fFolderId=%d', $this->oFolder->getId())),
94 97 );
... ...
plugins/ktcore/folder/BulkUpload.php
... ... @@ -95,6 +95,7 @@ class KTBulkUploadFolderAction extends KTFolderAction {
95 95 }
96 96  
97 97 function do_upload() {
  98 + set_time_limit(0);
98 99 $aErrorOptions = array(
99 100 'redirect_to' => array('main', sprintf('fFolderId=%d', $this->oFolder->getId())),
100 101 );
... ...