Merge branch 'wip-mdl-41456' of git://github.com/rajeshtaneja/moodle

This commit is contained in:
Damyon Wiese 2013-09-04 11:45:07 +08:00
commit 3516b82c9d
18 changed files with 23 additions and 23 deletions

View File

@ -56,7 +56,7 @@ class all_submissions_downloaded extends \core\event\base {
*
* @return array
*/
public function get_legacy_logdata() {
protected function get_legacy_logdata() {
return $this->legacylogdata;
}

View File

@ -81,7 +81,7 @@ class assessable_submitted extends \core\event\assessable_submitted {
*
* @return array
*/
public function get_legacy_logdata() {
protected function get_legacy_logdata() {
return $this->legacylogdata;
}

View File

@ -56,7 +56,7 @@ class extension_granted extends \core\event\base {
*
* @return array
*/
public function get_legacy_logdata() {
protected function get_legacy_logdata() {
return $this->legacylogdata;
}

View File

@ -56,7 +56,7 @@ class identities_revealed extends \core\event\base {
*
* @return array
*/
public function get_legacy_logdata() {
protected function get_legacy_logdata() {
return $this->legacylogdata;
}

View File

@ -56,7 +56,7 @@ class marker_updated extends \core\event\base {
*
* @return array
*/
public function get_legacy_logdata() {
protected function get_legacy_logdata() {
return $this->legacylogdata;
}

View File

@ -56,7 +56,7 @@ class statement_accepted extends \core\event\base {
*
* @return array
*/
public function get_legacy_logdata() {
protected function get_legacy_logdata() {
return $this->legacylogdata;
}

View File

@ -56,7 +56,7 @@ class submission_duplicated extends \core\event\base {
*
* @return array
*/
public function get_legacy_logdata() {
protected function get_legacy_logdata() {
return $this->legacylogdata;
}

View File

@ -56,7 +56,7 @@ class submission_graded extends \core\event\base {
*
* @return array
*/
public function get_legacy_logdata() {
protected function get_legacy_logdata() {
return $this->legacylogdata;
}

View File

@ -56,7 +56,7 @@ class submission_locked extends \core\event\base {
*
* @return array
*/
public function get_legacy_logdata() {
protected function get_legacy_logdata() {
return $this->legacylogdata;
}

View File

@ -56,7 +56,7 @@ class submission_status_updated extends \core\event\base {
*
* @return array
*/
public function get_legacy_logdata() {
protected function get_legacy_logdata() {
return $this->legacylogdata;
}

View File

@ -56,7 +56,7 @@ class submission_unlocked extends \core\event\base {
*
* @return array
*/
public function get_legacy_logdata() {
protected function get_legacy_logdata() {
return $this->legacylogdata;
}

View File

@ -56,7 +56,7 @@ class submission_updated extends \core\event\base {
*
* @return array
*/
public function get_legacy_logdata() {
protected function get_legacy_logdata() {
return $this->legacylogdata;
}

View File

@ -56,7 +56,7 @@ class workflow_state_updated extends \core\event\base {
*
* @return array
*/
public function get_legacy_logdata() {
protected function get_legacy_logdata() {
return $this->legacylogdata;
}

View File

@ -76,10 +76,10 @@ class assessable_uploaded extends \core\event\assessable_uploaded {
/**
* Return localised event name.
*
* @return \lang_string
* @return string
*/
public static function get_name() {
return new \lang_string('event_assessable_uploaded', 'assignment_online');
return get_string('event_assessable_uploaded', 'assignment_online');
}
/**

View File

@ -81,10 +81,10 @@ class assessable_submitted extends \core\event\assessable_submitted {
/**
* Return localised event name.
*
* @return \lang_string
* @return string
*/
public static function get_name() {
return new \lang_string('event_assessable_submitted', 'assignment_submitted');
return get_string('event_assessable_submitted', 'assignment_submitted');
}
/**

View File

@ -92,10 +92,10 @@ class assessable_uploaded extends \core\event\assessable_uploaded {
/**
* Return localised event name.
*
* @return \lang_string
* @return string
*/
public static function get_name() {
return new \lang_string('event_assessable_uploaded', 'assignment_upload');
return get_string('event_assessable_uploaded', 'assignment_upload');
}
/**

View File

@ -76,10 +76,10 @@ class assessable_uploaded extends \core\event\assessable_uploaded {
/**
* Return localised event name.
*
* @return \lang_string
* @return string
*/
public static function get_name() {
return new \lang_string('event_assessable_uploaded', 'mod_forum');
return get_string('event_assessable_uploaded', 'mod_forum');
}
/**

View File

@ -91,10 +91,10 @@ class assessable_uploaded extends \core\event\assessable_uploaded {
/**
* Return localised event name.
*
* @return \lang_string
* @return string
*/
public static function get_name() {
return new \lang_string('event_assessable_uploaded', 'mod_workshop');
return get_string('event_assessable_uploaded', 'mod_workshop');
}
/**