Change the name of events
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
@ -47,7 +47,7 @@ class administrator_added extends \core\event\base {
|
|||||||
* Return localised event name.
|
* Return localised event name.
|
||||||
*/
|
*/
|
||||||
public static function get_name() {
|
public static function get_name() {
|
||||||
return new \lang_string("update", "moodle");
|
return new \lang_string("sitelogs", "moodle");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -47,7 +47,7 @@ class administrator_changed extends \core\event\base {
|
|||||||
* Return localised event name.
|
* Return localised event name.
|
||||||
*/
|
*/
|
||||||
public static function get_name() {
|
public static function get_name() {
|
||||||
return new \lang_string("update", "moodle");
|
return new \lang_string("sitelogs", "moodle");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -47,7 +47,7 @@ class administrator_deleted extends \core\event\base {
|
|||||||
* Return localised event name.
|
* Return localised event name.
|
||||||
*/
|
*/
|
||||||
public static function get_name() {
|
public static function get_name() {
|
||||||
return new \lang_string("update", "moodle");
|
return new \lang_string("sitelogs", "moodle");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user