Commit 4cbe60a5 authored by webchick's avatar webchick

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

parent cf561875
......@@ -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;
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment