NOBUG: $OUTPUT->user_picture() has no $popup parameter

This commit is contained in:
mudrd8mz
2009-08-05 15:13:22 +00:00
parent 6f391f7642
commit cd2f8dbc9f
+1 -1
View 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, $popup).');
debugging('print_user_picture() has been deprecated. Please change your code to use $OUTPUT->user_picture($user, $link).');
$userpic = new user_picture();
$userpic->user = $user;