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 74e3f2c67e9fb001ee0c0bd553947afed2b607d4 1 parent de58499
Andreas Grabs authored
3  mod/feedback/db/messages.php
View
@@ -27,6 +27,9 @@
/// Submitting a feedback
'submission' => array (
+ ),
+/// Message to nonrespondents
+ 'message' => array (
)
);
4 mod/feedback/show_nonrespondents.php
View
@@ -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;
2  mod/feedback/version.php
View
@@ -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.