Commit 0528361c authored by Frederic Massart's avatar Frederic Massart
Browse files

MDL-39954 event: Changing get_legacy_eventname to public static

parent 3785358d
......@@ -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';
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment