Commit ded0f07a922cb521d11fd052948383d9d0c0e374
Committed by
Megan Watson
1 parent
7d8daad4
Put require for download queue class in correct place at top of file (in download trigger)
Showing
1 changed file
with
2 additions
and
2 deletions
plugins/ktcore/KTDownloadTriggers.inc.php
| ... | ... | @@ -36,6 +36,8 @@ |
| 36 | 36 | * Contributor( s): ______________________________________ |
| 37 | 37 | * |
| 38 | 38 | */ |
| 39 | + | |
| 40 | +require_once(KT_LIB_DIR . DIRECTORY_SEPARATOR . 'foldermanagement' . DIRECTORY_SEPARATOR . 'compressionArchiveUtil.inc.php'); | |
| 39 | 41 | |
| 40 | 42 | class BulkDownloadTrigger { |
| 41 | 43 | |
| ... | ... | @@ -67,8 +69,6 @@ class BulkDownloadTrigger { |
| 67 | 69 | unset($_SESSION['checkBulkDownload']); |
| 68 | 70 | DownloadQueue::removeNotificationFile(); |
| 69 | 71 | |
| 70 | - require_once(KT_LIB_DIR . DIRECTORY_SEPARATOR . 'foldermanagement' . DIRECTORY_SEPARATOR . 'compressionArchiveUtil.inc.php'); | |
| 71 | - | |
| 72 | 72 | $userID = $_SESSION['userID']; |
| 73 | 73 | $code = DownloadQueue::userDownloadAvailable($userID); |
| 74 | 74 | if ($code) { | ... | ... |