Commit 1f9ba69e authored by sun's avatar sun

#265801 by smk-ka: Added exclusion of data in cache tables for snapshots.

parent 210ac15a
......@@ -6,6 +6,7 @@ Demo x.x-x.x, xxxx-xx-xx
Demo 5.x-1.x, xxxx-xx-xx
------------------------
#265801 by smk-ka: Added exclusion of data in cache tables for snapshots.
Demo 5.x-1.4, 2008-04-29
......
......@@ -247,7 +247,8 @@ function demo_dump_submit($form_id, $values) {
// Perform dump
$fileconfig = demo_get_fileconfig($info['filename']);
$exclude = array(db_prefix_tables('{watchdog}'));
$exclude = array('{cache}', '{cache_content}', '{cache_filter}', '{cache_menu}', '{cache_page}', '{cache_views}', '{panels_object_cache}', '{watchdog}');
$exclude = array_map('db_prefix_tables', $exclude);
demo_dump_db($fileconfig['sqlfile'], $exclude);
drupal_goto('admin/settings/demo/manage');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment