Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-26075 Sending Message through Feedback Component throws an error

  • Loading branch information...
commit 5399e053d139a60d8dc9413ba046cc924a219f1e 1 parent 39d106e
Andreas Grabs authored
View
3  mod/feedback/db/messages.php
@@ -27,6 +27,9 @@
/// Submitting a feedback
'submission' => array (
+ ),
+/// Message to nonrespondents
+ 'message' => array (
)
);
View
4 mod/feedback/show_nonrespondents.php
@@ -75,8 +75,8 @@
foreach ($messageuser as $userid) {
$senduser = $DB->get_record('user', array('id'=>$userid));
$eventdata = new stdClass();
- $eventdata->name = 'feedback';
- $eventdata->component = 'mod';
+ $eventdata->name = 'message';
+ $eventdata->component = 'mod_feedback';
$eventdata->userfrom = $USER;
$eventdata->userto = $senduser;
$eventdata->subject = $subject;
View
2  mod/feedback/version.php
@@ -9,7 +9,7 @@
*/
- $module->version = 2010112302; // The current module version (Date: YYYYMMDDXX)
+ $module->version = 2010112303; // The current module version (Date: YYYYMMDDXX)
$module->requires = 2010080300; // Requires this Moodle version
$feedback_version_intern = 1; //this version is used for restore older backups
$module->cron = 0; // Period for cron to check this module (secs)
Please sign in to comment.
Something went wrong with that request. Please try again.