#370454 follow-up by flobruit: Fix update function return value.

merge-requests/26/head
Angie Byron 2009-08-22 16:55:46 +00:00
parent cf56187532
commit 4cbe60a533
1 changed files with 2 additions and 1 deletions

View File

@ -2300,11 +2300,12 @@ function system_update_7032() {
* Move CACHE_AGGRESSIVE to CACHE_NORMAL.
*/
function system_update_7033() {
$ret = array();
if (variable_get('cache') == 2) {
variable_set('cache', CACHE_NORMAL);
$ret[] = array('success' => TRUE, 'query' => "Aggressive caching was disabled and replaced with normal caching, please read the page caching section in default.settings.php for more information on how to enable similar functionality.");
}
return array();
return $ret;
}
/**