summaryrefslogtreecommitdiff
path: root/modules/upload
diff options
context:
space:
mode:
Diffstat (limited to 'modules/upload')
-rw-r--r--modules/upload/upload.install5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/upload/upload.install b/modules/upload/upload.install
index 62acef717..87f817f81 100644
--- a/modules/upload/upload.install
+++ b/modules/upload/upload.install
@@ -82,7 +82,6 @@ function upload_schema() {
* Migrate upload module files from {files} to {file}.
*/
function upload_update_7000(&$sandbox) {
- $ret = array();
/*
TODO: Fix the updates. This is broken. See http://drupal.org/node/329301#comment-1404336
@@ -128,8 +127,6 @@ function upload_update_7000(&$sandbox) {
// Indicate our current progress to the batch update system. If there's no
// max value then there's nothing to update and we're finished.
- $ret['#finished'] = empty($sandbox['max']) ? 1 : ($sandbox['progress'] / $sandbox['max']);
-
- return $ret;
+ $sandbox['#finished'] = empty($sandbox['max']) ? 1 : ($sandbox['progress'] / $sandbox['max']);
}