PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9
4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 All 140 releases
← All changes | assets/src/apps/js/admin/pages/tools.js +0 -7 4.4.6 → 4.4.9 View file →
@@ -2,12 +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 ResetCourseProgress from './tools/reset-course-progress';
7 -import ResetItemProgress from './tools/reset-item-progress';
8 -import HandleSampleData from './tools/handle-sample-data';
9 -
10 6 ( function( $ ) {
11 7 const $doc = $( document );
12 8
13 9 const clearHardCache = function clearHardCache( e ) {
@@ -46,11 +42,8 @@
46 42 getStepsUpgradeStatus();
47 43 createIndexes();
48 44 reUpgradeDB();
49 45 cleanDatabases();
50 - ( new ResetCourseProgress() ).init();
51 - ( new ResetItemProgress() ).init();
52 - ( new HandleSampleData() ).init();
53 46 $doc.on( 'click', '#learn-press-clear-cache', clearHardCache )
54 47 .on( 'click', 'input[name="enable_hard_cache"]', toggleHardCache );
55 48 } );
56 49 }( jQuery ) );