]> git.mjollnir.org Git - moodle.git/commitdiff
Dropping support for scheduled release of grades - it is gradebook's
authorDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 18:24:28 +0000 (18:24 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 18:24:28 +0000 (18:24 +0000)
duty

mod/workshop/db/install.xml
mod/workshop/lang/en_utf8/workshop.php
mod/workshop/mod_form.php
mod/workshop/version.php

index 8b2ab8a2af9d019727670aff51eeb70aaa123a79..67739b44a77ea3cb103bec8808ca6aeeafa522d7 100644 (file)
@@ -31,8 +31,7 @@
         <FIELD NAME="submissionstart" TYPE="int" LENGTH="10" NOTNULL="false" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" COMMENT="0 = will be started manually, greater than 0 the timestamp of the start of the submission phase" PREVIOUS="examplesmode" NEXT="submissionend"/>
         <FIELD NAME="submissionend" TYPE="int" LENGTH="10" NOTNULL="false" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" COMMENT="0 = will be closed manually, greater than 0 the timestamp of the end of the submission phase" PREVIOUS="submissionstart" NEXT="assessmentstart"/>
         <FIELD NAME="assessmentstart" TYPE="int" LENGTH="10" NOTNULL="false" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" COMMENT="0 = will be started manually, greater than 0 the timestamp of the start of the assessment phase" PREVIOUS="submissionend" NEXT="assessmentend"/>
-        <FIELD NAME="assessmentend" TYPE="int" LENGTH="10" NOTNULL="false" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" COMMENT="0 = will be closed manually, greater than 0 the timestamp of the end of the assessment phase" PREVIOUS="assessmentstart" NEXT="releasegrades"/>
-        <FIELD NAME="releasegrades" TYPE="int" LENGTH="10" NOTNULL="false" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" COMMENT="0 = will be released manually, greater than 0 the timestamp when final grades are published" PREVIOUS="assessmentend"/>
+        <FIELD NAME="assessmentend" TYPE="int" LENGTH="10" NOTNULL="false" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" COMMENT="0 = will be closed manually, greater than 0 the timestamp of the end of the assessment phase" PREVIOUS="assessmentstart"/>
       </FIELDS>
       <KEYS>
         <KEY NAME="primary" TYPE="primary" FIELDS="id" NEXT="course_fk"/>
index 821689b4f909cda1bad9d729b10012046e9838ca..e8d3544d6666c8e1a134008e26ccc32fa7ba3fcc 100644 (file)
@@ -136,7 +136,6 @@ $string['phasesubmission'] = 'Submission phase';
 $string['previewassessmentform'] = 'Preview';
 $string['reassess'] = 'Re-assess';
 $string['receivedgrades'] = 'Received grades';
-$string['releasegrades'] = 'Push final grades into the gradebook';
 $string['saveandclose'] = 'Save and close';
 $string['saveandcontinue'] = 'Save and continue editing';
 $string['saveandpreview'] = 'Save and preview';
index ac4432a78c97a5326580ce95e4e0250519bb3fca..dfa163ffb18ee26c0c537aac4dc718a1f4e307bb 100644 (file)
@@ -178,11 +178,6 @@ class mod_workshop_mod_form extends moodleform_mod {
         $mform->setHelpButton('assessmentend', array('assessmentend', $label, 'workshop'));
         $mform->setAdvanced('assessmentend');
 
-        $label = get_string('releasegrades', 'workshop');
-        $mform->addElement('date_selector', 'releasegrades', $label, array('optional' => true));
-        $mform->setHelpButton('releasegrades', array('releasegrades', $label, 'workshop'));
-        $mform->setAdvanced('releasegrades');
-
         // Common module settinga, Restrict availability, Activity completion etc. ----
         $features = array('groups'=>true, 'groupings'=>true, 'groupmembersonly'=>true,
                 'outcomes'=>true, 'gradecat'=>false, 'idnumber'=>false);
index 9337d37ce915052c80fdeab2a818332702896ed4..5b03108f5da3a72c8db459f2d0ffa52954b658ca 100644 (file)
@@ -28,6 +28,6 @@
 
 defined('MOODLE_INTERNAL') || die();
 
-$module->version  = 2009102900;
+$module->version  = 2009102901;
 $module->requires = 2009090400;  // Requires this Moodle version
 $module->cron     = 60;