MDL-43557 events: fixed minor issues in existing events

This commit is contained in:
Mark Nelson
2014-04-29 19:16:11 -07:00
parent 4d9c1b573e
commit 02a5a4b2ff
319 changed files with 2616 additions and 1982 deletions
+9 -2
View File
@@ -18,7 +18,6 @@
* The mod_folder folder updated event.
*
* @package mod_folder
* @since Moodle 2.7
* @copyright 2013 Mark Nelson <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
@@ -27,6 +26,14 @@ namespace mod_folder\event;
defined('MOODLE_INTERNAL') || die();
/**
* The mod_folder folder updated event class.
*
* @package mod_folder
* @since Moodle 2.7
* @copyright 2013 Mark Nelson <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class folder_updated extends \core\event\base {
/**
@@ -53,7 +60,7 @@ class folder_updated extends \core\event\base {
* @return string
*/
public function get_description() {
return 'User with id ' . $this->userid . ' updated the folder activity with instance id ' . $this->objectid;
return "The user with the id '$this->userid' updated the folder activity with course module id '$this->contextinstanceid'.";
}
/**