MDL-50851 core_tag: introduce tag collections

This commit is contained in:
Marina Glancy
2016-01-10 15:25:43 +08:00
parent e65dfd9f28
commit c026a28d59
70 changed files with 7467 additions and 2670 deletions
+2 -3
View File
@@ -166,9 +166,8 @@ function uninstall_plugin($type, $name) {
echo $OUTPUT->heading($pluginname);
// Delete all tag instances associated with this plugin.
require_once($CFG->dirroot . '/tag/lib.php');
tag_delete_instances($component);
// Delete all tag areas, collections and instances associated with this plugin.
core_tag_area::uninstall($component);
// Custom plugin uninstall.
$plugindirectory = core_component::get_plugin_directory($type, $name);