MDL-45568 events: fixed the description for the 'course_module_completion_updated...
authorMark Nelson <markn@moodle.com>
Thu, 15 May 2014 21:58:55 +0000 (14:58 -0700)
committerMark Nelson <markn@moodle.com>
Wed, 4 Jun 2014 00:25:53 +0000 (17:25 -0700)
lib/classes/event/course_module_completion_updated.php

index 0d3bef9..b5f2ff2 100644 (file)
@@ -60,8 +60,8 @@ class course_module_completion_updated extends base {
      * @return string
      */
     public function get_description() {
-        return "The course module completion requirements were updated by the user with id '$this->userid' for the user " .
-            "with id '$this->relateduserid'.";
+        return "The user with id '$this->userid' updated the completion state for the course module with id '$this->contextinstanceid' " .
+            "for the user with id '$this->relateduserid'.";
     }
 
     /**