Commit 7a189598 authored by sun's avatar sun

#372113 by sun: Fixed not all cache tables are skipped.

parent 571e567f
......@@ -6,6 +6,7 @@ Demo x.x-x.x, xxxx-xx-xx
Demo 5.x-1.x, xxxx-xx-xx
------------------------
#372113 by sun: Fixed not all cache tables are skipped.
#369711 by smk-ka: Added confirmation before deleting a snapshot.
#369642 by smk-ka: Added checkbox to define new snapshot as default.
#329182 by sun: Moved menu items below admin/build.
......
......@@ -174,7 +174,16 @@ function demo_dump_submit($form_id, $values) {
// Perform dump.
$fileconfig = demo_get_fileconfig($info['filename']);
$exclude = array('{cache}', '{cache_content}', '{cache_filter}', '{cache_menu}', '{cache_page}', '{cache_views}', '{panels_object_cache}', '{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_set_message(t('Successfully created snapshot %filename.', array('%filename' => $fileconfig['sqlfile'])));
......
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