From 13f89eaf118542ba8e1d81853eebd004e65176fa Mon Sep 17 00:00:00 2001 From: Michael Aherne Date: Tue, 8 Dec 2015 12:23:40 +0000 Subject: [PATCH] MDL-52439 assign: correct get_user_submission() phpdoc --- mod/assign/locallib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 340e222ffda..1ee5e58919b 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -2765,8 +2765,7 @@ class assign { * recorded separately. * * @param int $userid The id of the user whose submission we want or 0 in which case USER->id is used - * @param bool $create optional - defaults to false. If set to true a new submission object - * will be created in the database with the status set to "new". + * @param bool $create If set to true a new submission object will be created in the database with the status set to "new". * @param int $attemptnumber - -1 means the latest attempt * @return stdClass The submission */