From 2af26b123d4594c6b1d319f0e16a1c7131898875 Mon Sep 17 00:00:00 2001 From: sam marshall Date: Mon, 10 Jan 2011 14:08:10 +0000 Subject: [PATCH] completion MDL-25927 Added old function back as deprecated, to preserve API compatibility --- lib/completionlib.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/completionlib.php b/lib/completionlib.php index f3fe8c20d80..b020d329433 100644 --- a/lib/completionlib.php +++ b/lib/completionlib.php @@ -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