diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-01-24 17:59:12 -0800 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-01-24 17:59:12 -0800 |
commit | 618263935a0b01bcef7a94153a41be1a6170154a (patch) | |
tree | 99c04314de2b669e8aef22c61ffa24f9aa6b14c5 /engine/lib/upgrades/2012012100-1.8.3-system_cache-93100e7d55a24a11.php | |
parent | 54bef9fc0b85acaf6950e618bd02aa50befd2acc (diff) | |
parent | 7c962fa6cbaf687daafb8588ff601fe664e1392c (diff) | |
download | elgg-618263935a0b01bcef7a94153a41be1a6170154a.tar.gz elgg-618263935a0b01bcef7a94153a41be1a6170154a.tar.bz2 |
Merge pull request #151 from cash/system_cache
Turn viewpath cache into a system cache
Diffstat (limited to 'engine/lib/upgrades/2012012100-1.8.3-system_cache-93100e7d55a24a11.php')
-rw-r--r-- | engine/lib/upgrades/2012012100-1.8.3-system_cache-93100e7d55a24a11.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2012012100-1.8.3-system_cache-93100e7d55a24a11.php b/engine/lib/upgrades/2012012100-1.8.3-system_cache-93100e7d55a24a11.php new file mode 100644 index 000000000..3a9aae2a1 --- /dev/null +++ b/engine/lib/upgrades/2012012100-1.8.3-system_cache-93100e7d55a24a11.php @@ -0,0 +1,13 @@ +<?php +/** + * Elgg 1.8.3 upgrade 2012012100 + * system_cache + * + * Convert viewpath cache to system cache + */ + +$value = datalist_get('viewpath_cache_enabled'); +datalist_set('system_cache_enabled', $value); + +$query = "DELETE FROM {$CONFIG->dbprefix}datalists WHERE name='viewpath_cache_enabled'"; +delete_data($query); |