Commit 2972a6ed55dfd3231af11a73adc8bde0d39c3f0f
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
Showing
2 changed files
with
4 additions
and
0 deletions
plugins/ktcore/folder/BulkImport.php
| @@ -89,6 +89,9 @@ class KTBulkImportFolderAction extends KTFolderAction { | @@ -89,6 +89,9 @@ class KTBulkImportFolderAction extends KTFolderAction { | ||
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | function do_import() { | 91 | function do_import() { |
| 92 | + | ||
| 93 | + set_time_limit(0); | ||
| 94 | + | ||
| 92 | $aErrorOptions = array( | 95 | $aErrorOptions = array( |
| 93 | 'redirect_to' => array('main', sprintf('fFolderId=%d', $this->oFolder->getId())), | 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,6 +95,7 @@ class KTBulkUploadFolderAction extends KTFolderAction { | ||
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | function do_upload() { | 97 | function do_upload() { |
| 98 | + set_time_limit(0); | ||
| 98 | $aErrorOptions = array( | 99 | $aErrorOptions = array( |
| 99 | 'redirect_to' => array('main', sprintf('fFolderId=%d', $this->oFolder->getId())), | 100 | 'redirect_to' => array('main', sprintf('fFolderId=%d', $this->oFolder->getId())), |
| 100 | ); | 101 | ); |