summaryrefslogtreecommitdiff
path: root/modules/upload/upload.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-29 15:13:57 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-29 15:13:57 +0000
commitcef10893892a1c40f73fd972969c3512b0983cd6 (patch)
treec295a5dea1cc8f5d0ced7e7c967c70cf34f33c73 /modules/upload/upload.install
parent0a0b067c2404b041454cc7a5fc8cfbbb9ecd6027 (diff)
downloadbrdo-cef10893892a1c40f73fd972969c3512b0983cd6.tar.gz
brdo-cef10893892a1c40f73fd972969c3512b0983cd6.tar.bz2
- Patch #570900 by Crell | asimmonds: Changed Destroy remnants of update_sql().
Diffstat (limited to 'modules/upload/upload.install')
-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']);
}