diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-11-09 18:34:26 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-11-09 18:34:26 +0000 |
commit | b721f5e0e39a82baaeadf05f6ec170628ac15904 (patch) | |
tree | ababed902ec4cd6f3ddb5c15f1cc9559e2818b88 /includes/update.inc | |
parent | ca833681ccf7fdce918f4eeecf7e285be0fd38ee (diff) | |
download | brdo-b721f5e0e39a82baaeadf05f6ec170628ac15904.tar.gz brdo-b721f5e0e39a82baaeadf05f6ec170628ac15904.tar.bz2 |
- Patch #570900 by Crell: remove remnants of update_sql().
Diffstat (limited to 'includes/update.inc')
-rw-r--r-- | includes/update.inc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/includes/update.inc b/includes/update.inc index 7c50f58ff..344d250fe 100644 --- a/includes/update.inc +++ b/includes/update.inc @@ -452,12 +452,6 @@ function update_do_one($module, $number, &$context) { } $ret['results']['query'] = $function($context['sandbox']); $ret['results']['success'] = TRUE; - - // @TODO Remove this block after all updates have been converted to - // return only strings. - if (is_array($ret['results']['query'])) { - $ret = $ret['results']['query']; - } } // @TODO We may want to do different error handling for different exception // types, but for now we'll just print the message. @@ -470,13 +464,6 @@ function update_do_one($module, $number, &$context) { } } - // @TODO Remove this block after all updates have been converted to return - // only strings. - if (isset($ret['#finished'])) { - $context['finished'] = $ret['#finished']; - unset($ret['#finished']); - } - if (isset($context['sandbox']['#finished'])) { $context['finished'] = $context['sandbox']['#finished']; unset($context['sandbox']['#finished']); |