2012012100-1.8.3-system_cache-93100e7d55a24a11.php 315 B

1234567891011121314
  1. <?php
  2. /**
  3. * Elgg 1.8.3 upgrade 2012012100
  4. * system_cache
  5. *
  6. * Convert viewpath cache to system cache
  7. */
  8. $value = datalist_get('viewpath_cache_enabled');
  9. datalist_set('system_cache_enabled', $value);
  10. $query = "DELETE FROM {$CONFIG->dbprefix}datalists WHERE name='viewpath_cache_enabled'";
  11. delete_data($query);