MDL-39954 event: Changing get_legacy_eventname to public static

This commit is contained in:
Frederic Massart 2013-08-09 14:22:48 +08:00
parent 3785358d47
commit 0528361cc1
8 changed files with 8 additions and 8 deletions

View File

@ -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';
}

View File

@ -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';
}

View File

@ -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';
}

View File

@ -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';
}

View File

@ -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';
}

View File

@ -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';
}

View File

@ -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';
}

View File

@ -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';
}