Skip to content

Commit 8633193

Browse files
committed
Fix #109 - allow submission without a portfolio.
1 parent e97f2d6 commit 8633193

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

locallib.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -977,21 +977,6 @@ private function update_submission_data($response, $iscollection, $maharasubmiss
977977
return $maharasubmission;
978978
}
979979

980-
/**
981-
* Check if the submission plugin has all the required data to allow the work
982-
* to be submitted for grading
983-
* @param stdClass $submission the assign_submission record being submitted.
984-
* @return bool|string 'true' if OK to proceed with submission, otherwise a
985-
* a message to display to the user
986-
*/
987-
public function precheck_submission($submission) {
988-
$maharasubmission = $this->get_mahara_submission($submission->id);
989-
if (!$maharasubmission) {
990-
return get_string('emptysubmission', 'assignsubmission_maharaws');
991-
}
992-
return true;
993-
}
994-
995980
/**
996981
* Process submission for grading
997982
*

0 commit comments

Comments
 (0)