Skip to content

Commit

Permalink
MDL-47162 core_message: Remove changes to small messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmerrill authored and stronk7 committed Oct 27, 2016
1 parent 0e8b516 commit 9d0e8a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions mod/feedback/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -3037,7 +3037,7 @@ function feedback_send_email($cm, $feedback, $course, $user) {
$eventdata->fullmessage = $posttext;
$eventdata->fullmessageformat = FORMAT_PLAIN;
$eventdata->fullmessagehtml = $posthtml;
$eventdata->smallmessage = $postsubject;
$eventdata->smallmessage = '';
$eventdata->courseid = $course->id;
$eventdata->contexturl = $info->url;
$eventdata->contexturlname = $info->feedback;
Expand All @@ -3053,7 +3053,7 @@ function feedback_send_email($cm, $feedback, $course, $user) {
$eventdata->fullmessage = $posttext;
$eventdata->fullmessageformat = FORMAT_PLAIN;
$eventdata->fullmessagehtml = $posthtml;
$eventdata->smallmessage = $postsubject;
$eventdata->smallmessage = '';
$eventdata->courseid = $course->id;
$eventdata->contexturl = $info->url;
$eventdata->contexturlname = $info->feedback;
Expand Down Expand Up @@ -3115,7 +3115,7 @@ function feedback_send_email_anonym($cm, $feedback, $course) {
$eventdata->fullmessage = $posttext;
$eventdata->fullmessageformat = FORMAT_PLAIN;
$eventdata->fullmessagehtml = $posthtml;
$eventdata->smallmessage = $postsubject;
$eventdata->smallmessage = '';
$eventdata->courseid = $course->id;
$eventdata->contexturl = $info->url;
$eventdata->contexturlname = $info->feedback;
Expand Down
2 changes: 1 addition & 1 deletion mod/feedback/show_nonrespondents.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
$eventdata->fullmessage = html_to_text($htmlmessage);
$eventdata->fullmessageformat = FORMAT_PLAIN;
$eventdata->fullmessagehtml = $htmlmessage;
$eventdata->smallmessage = $subject;
$eventdata->smallmessage = '';
$eventdata->courseid = $course->id;
$eventdata->contexturl = $link3;
$eventdata->contexturlname = $feedback->name;
Expand Down

0 comments on commit 9d0e8a4

Please sign in to comment.