From e8e84cc0775709e4fdc21eed7aeb0aa7857296b0 Mon Sep 17 00:00:00 2001 From: mudrd8mz Date: Wed, 5 Aug 2009 15:16:31 +0000 Subject: [PATCH] NOBUG: $OUTPUT->user_picture() does not accept link but courseid --- lib/deprecatedlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/deprecatedlib.php b/lib/deprecatedlib.php index e9001f7528..fef2cc0df3 100644 --- a/lib/deprecatedlib.php +++ b/lib/deprecatedlib.php @@ -2673,7 +2673,7 @@ function print_file_picture($path, $courseid=0, $height='', $width='', $link='', function print_user_picture($user, $courseid, $picture=NULL, $size=0, $return=false, $link=true, $target='', $alttext=true) { global $CFG, $DB, $OUTPUT; - debugging('print_user_picture() has been deprecated. Please change your code to use $OUTPUT->user_picture($user, $link).'); + debugging('print_user_picture() has been deprecated. Please change your code to use $OUTPUT->user_picture($user, $courseid).'); $userpic = new user_picture(); $userpic->user = $user; -- 2.39.5