]> git.mjollnir.org Git - moodle.git/commitdiff
NOBUG: $OUTPUT->user_picture() does not accept link but courseid
authormudrd8mz <mudrd8mz>
Wed, 5 Aug 2009 15:16:31 +0000 (15:16 +0000)
committermudrd8mz <mudrd8mz>
Wed, 5 Aug 2009 15:16:31 +0000 (15:16 +0000)
lib/deprecatedlib.php

index e9001f7528c532b75391a3e186470ac384361621..fef2cc0df31a16d31e9c31af066ee693e6530088 100644 (file)
@@ -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;