diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-08-16 18:39:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-08-16 18:39:45 +0000 |
commit | a1593ab1c90a9433f6e9b4ae0eab8f3ccdaab40d (patch) | |
tree | 03581d6f78d77ab6e47f858f2e3aa2c510ecb236 /modules/system/system.install | |
parent | 46b9fe93b526546c55eee438220b5aa30795ec2d (diff) | |
download | brdo-a1593ab1c90a9433f6e9b4ae0eab8f3ccdaab40d.tar.gz brdo-a1593ab1c90a9433f6e9b4ae0eab8f3ccdaab40d.tar.bz2 |
- Patch #370454 by chx, Damien Tournoud: simplify page caching.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 784f09776..16d7c6b73 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2243,6 +2243,17 @@ function system_update_7032() { } /** + * Move CACHE_AGGRESSIVE to CACHE_NORMAL. + */ +function system_update_7033() { + 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(); +} + +/** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */ |