aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades/2012012100-1.8.3-system_cache-93100e7d55a24a11.php
blob: 3a9aae2a1d8af93de82f34476b8bf404af454a81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);