]> git.mjollnir.org Git - moodle.git/commitdiff
Do not support tags yet until the API stabilizes
authorDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 17:49:43 +0000 (17:49 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 17:49:43 +0000 (17:49 +0000)
The generated form uses deprecated calls at the moment.

mod/workshop/grading/edit_form.php

index 2fe1dcab6fc0f191f8083326409dc94e49ee3cd7..a74e8e0aad5d74d6a172578715b3f4a4be30d841 100644 (file)
@@ -63,10 +63,11 @@ class workshop_edit_strategy_form extends moodleform {
 
         $this->definition_inner($mform);
 
-        if (!empty($CFG->usetags)) {
-            $mform->addElement('header', 'tagsheader', get_string('tags'));
-            $mform->addElement('tags', 'tags', get_string('tags'));
-        }
+        // todo - tags support
+        //if (!empty($CFG->usetags)) {
+        //    $mform->addElement('header', 'tagsheader', get_string('tags'));
+        //    $mform->addElement('tags', 'tags', get_string('tags'));
+        //}
 
         $buttonarray = array();
         $buttonarray[] = &$mform->createElement('submit', 'saveandcontinue', get_string('saveandcontinue', 'workshop'));