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
+4 -3
View File
@@ -15,7 +15,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* mod_data comment deleted event.
* The mod_data comment deleted event.
*
* @package mod_data
* @copyright 2013 Rajesh Taneja <[email protected]>
@@ -26,7 +26,7 @@ namespace mod_data\event;
defined('MOODLE_INTERNAL') || die();
/**
* mod_data comment deleted event.
* The mod_data comment deleted event class.
*
* @package mod_data
* @since Moodle 2.7
@@ -49,6 +49,7 @@ class comment_deleted extends \core\event\comment_deleted {
* @return string
*/
public function get_description() {
return 'User with id ' . $this->userid . ' deleted comment for database activity with id ' . $this->other['itemid'];
return "The user with the id '$this->userid' deleted the comment with the id '$this->objectid' from the database activity with " .
"the course module id '$this->contextinstanceid'.";
}
}