completion MDL-25927 Added old function back as deprecated, to preserve API compatibility

This commit is contained in:
sam marshall 2011-01-10 14:08:10 +00:00
parent 563e97b8b9
commit 2af26b123d

View file

@ -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