| @@ -2,11 +2,8 @@ | ||
| 2 | 2 | import createIndexes from './tools/database/create_indexs'; |
| 3 | 3 | import reUpgradeDB from './tools/database/re-upgrade-db'; |
| 4 | 4 | import cleanDatabases from './tools/database/clean_database'; |
| 5 | 5 | |
| 6 | -import resetData from './tools/reset-data'; | |
| 7 | -import HandleSampleData from './tools/handle-sample-data'; | |
| 8 | - | |
| 9 | 6 | ( function( $ ) { |
| 10 | 7 | const $doc = $( document ); |
| 11 | 8 | |
| 12 | 9 | const clearHardCache = function clearHardCache( e ) { |
| @@ -44,11 +41,9 @@ | ||
| 44 | 41 | $( function() { |
| 45 | 42 | getStepsUpgradeStatus(); |
| 46 | 43 | createIndexes(); |
| 47 | 44 | reUpgradeDB(); |
| 48 | - resetData(); | |
| 49 | 45 | cleanDatabases(); |
| 50 | - ( new HandleSampleData() ).init(); | |
| 51 | 46 | $doc.on( 'click', '#learn-press-clear-cache', clearHardCache ) |
| 52 | 47 | .on( 'click', 'input[name="enable_hard_cache"]', toggleHardCache ); |
| 53 | 48 | } ); |
| 54 | 49 | }( jQuery ) ); |