diff --git a/repository/lib.php b/repository/lib.php index 11d9d36afc2..872a7db89de 100644 --- a/repository/lib.php +++ b/repository/lib.php @@ -1257,6 +1257,7 @@ abstract class repository { * @param integer $userid the user id * @param object $context the context * @param array $params the options for this instance + * @param integer $readonly whether to create it readonly or not (defaults to not) * @return mixed */ final public static function create($type, $userid, $context, $params, $readonly=0) {