mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
completion MDL-25927 Added old function back as deprecated, to preserve API compatibility
This commit is contained in:
parent
563e97b8b9
commit
2af26b123d
1 changed files with 10 additions and 0 deletions
|
@ -206,6 +206,16 @@ class completion_info {
|
|||
return $cm->completion;
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays the 'Your progress' help icon, if completion tracking is enabled.
|
||||
* Just prints the result of display_help_icon().
|
||||
* @deprecated Use display_help_icon instead.
|
||||
* @return void
|
||||
*/
|
||||
public function print_help_icon() {
|
||||
print $this->display_help_icon();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the 'Your progress' help icon, if completion tracking is enabled.
|
||||
* @global object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue