Merge pull request #3412 from halkyon/redundant_config

Removing redundant aggregatestore cache config (#3404)
This commit is contained in:
Damian Mooyman 2014-08-25 11:21:18 +12:00
commit f3974f0e63

View File

@ -38,12 +38,6 @@ ShortcodeParser::get('default')->register('embed', array('Oembed', 'handle_short
$_ENV['TMPDIR'] = TEMP_FOLDER; // for *nix
$_ENV['TMP'] = TEMP_FOLDER; // for Windows
$aggregatecachedir = TEMP_FOLDER . DIRECTORY_SEPARATOR . 'aggregate_cache';
if (!is_dir($aggregatecachedir)) mkdir($aggregatecachedir);
SS_Cache::add_backend('aggregatestore', 'File', array('cache_dir' => $aggregatecachedir));
SS_Cache::pick_backend('aggregatestore', 'aggregate', 1000);
SS_Cache::set_cache_lifetime('GDBackend_Manipulations', null, 100);
// If you don't want to see deprecation errors for the new APIs, change this to 3.2.0-dev.