MDL-43557 events: fixed minor issues in existing events
This commit is contained in:
@@ -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'.";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user