MDL-27550 workshop: display the feedback for the submission author when the workshop...
authorDavid Mudrak <david@moodle.com>
Wed, 27 Jul 2011 17:15:41 +0000 (19:15 +0200)
committerDavid Mudrak <david@moodle.com>
Tue, 2 Aug 2011 21:33:32 +0000 (23:33 +0200)
commit0dfb4bad56f782a9b9ef901556ca47733e2b1a06
tree687b5d46adb9a1d08f90a57ee6dcd9409054127e
parentca3e8e98a48c560c819011cae1de2576df49607e
MDL-27550 workshop: display the feedback for the submission author when the workshop is closed

The method user_picture::fields() was not available when these SQL
statements were originally written. Now instead of hard-coding the list
of returned fields, the user_picture is asked for the list.

Together with this change, methods workshop::get_submission_by_id()
and workshop::get_submission_by_author() now return the information
about the user who provided the feedback and overwrote the grade.
mod/workshop/lang/en/workshop.php
mod/workshop/locallib.php
mod/workshop/renderer.php
mod/workshop/styles.css
mod/workshop/submission.php
mod/workshop/view.php