Skip to content

Commit

Permalink
MDL-32450 delete Dragmath plugin and library because it is not compat…
Browse files Browse the repository at this point in the history
…ible with GPL
  • Loading branch information
skodak authored and mdjnelson committed Jun 29, 2014
1 parent 7a4832e commit 1170df1
Show file tree
Hide file tree
Showing 65 changed files with 12 additions and 8,593 deletions.
3 changes: 2 additions & 1 deletion lib/classes/plugin_manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,7 @@ public static function is_deleted_standard_plugin($type, $name) {
$plugins = array(
'qformat' => array('blackboard'),
'enrol' => array('authorize'),
'tinymce' => array('dragmath'),
'tool' => array('bloglevelupgrade', 'qeupgradehelper'),
'theme' => array('mymobile', 'afterburner', 'anomaly', 'arialist', 'binarius', 'boxxie', 'brick', 'formal_white',
'formfactor', 'fusion', 'leatherbound', 'magazine', 'nimble', 'nonzero', 'overlay', 'serenity', 'sky_high',
Expand Down Expand Up @@ -1121,7 +1122,7 @@ public static function standard_plugins_list($type) {
),

'tinymce' => array(
'ctrlhelp', 'dragmath', 'managefiles', 'moodleemoticon', 'moodleimage',
'ctrlhelp', 'managefiles', 'moodleemoticon', 'moodleimage',
'moodlemedia', 'moodlenolink', 'pdw', 'spellchecker', 'wrap'
),

Expand Down
9 changes: 9 additions & 0 deletions lib/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3676,5 +3676,14 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2014061000.00);
}

if ($oldversion < 2014062600.01) {
// Purge DragMath plugin which is incompatible with GNU GPL license.
// Hacky emulation of plugin uninstallation.
unset_all_config_for_plugin('tinymce_dragmath');

// Main savepoint reached.
upgrade_main_savepoint(true, 2014062600.01);
}

return true;
}
45 changes: 0 additions & 45 deletions lib/dragmath/COPYRIGHT.html

This file was deleted.

75 changes: 0 additions & 75 deletions lib/dragmath/README.html

This file was deleted.

Loading

0 comments on commit 1170df1

Please sign in to comment.