mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-39954 event: Changing get_legacy_eventname to public static
This commit is contained in:
parent
3785358d47
commit
0528361cc1
@ -72,7 +72,7 @@ class assessable_submitted extends \core\event\assessable_submitted {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function get_legacy_eventname() {
|
||||
public static function get_legacy_eventname() {
|
||||
return 'assessable_submitted';
|
||||
}
|
||||
|
||||
|
@ -76,7 +76,7 @@ class assessable_uploaded extends \core\event\assessable_uploaded {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function get_legacy_eventname() {
|
||||
public static function get_legacy_eventname() {
|
||||
return 'assessable_file_uploaded';
|
||||
}
|
||||
|
||||
|
@ -68,7 +68,7 @@ class assessable_uploaded extends \core\event\assessable_uploaded {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function get_legacy_eventname() {
|
||||
public static function get_legacy_eventname() {
|
||||
return 'assessable_content_uploaded';
|
||||
}
|
||||
|
||||
|
@ -69,7 +69,7 @@ class assessable_uploaded extends \core\event\assessable_uploaded {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function get_legacy_eventname() {
|
||||
public static function get_legacy_eventname() {
|
||||
return 'assessable_content_uploaded';
|
||||
}
|
||||
|
||||
|
@ -64,7 +64,7 @@ class assessable_submitted extends \core\event\assessable_submitted {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function get_legacy_eventname() {
|
||||
public static function get_legacy_eventname() {
|
||||
return 'assessable_files_done';
|
||||
}
|
||||
|
||||
|
@ -75,7 +75,7 @@ class assessable_uploaded extends \core\event\assessable_uploaded {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function get_legacy_eventname() {
|
||||
public static function get_legacy_eventname() {
|
||||
return 'assessable_file_uploaded';
|
||||
}
|
||||
|
||||
|
@ -69,7 +69,7 @@ class assessable_uploaded extends \core\event\assessable_uploaded {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function get_legacy_eventname() {
|
||||
public static function get_legacy_eventname() {
|
||||
return 'assessable_content_uploaded';
|
||||
}
|
||||
|
||||
|
@ -75,7 +75,7 @@ class assessable_uploaded extends \core\event\assessable_uploaded {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function get_legacy_eventname() {
|
||||
public static function get_legacy_eventname() {
|
||||
return 'assessable_content_uploaded';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user