From: moodler Date: Tue, 9 Dec 2008 06:50:06 +0000 (+0000) Subject: MDL-17391, change paramters of repository_get_client. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=22ed92de16c7c48e824d5a607183b3adae60fc64;p=moodle.git MDL-17391, change paramters of repository_get_client. --- diff --git a/lib/weblib.php b/lib/weblib.php index 5cd606f35a..3569958cca 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -5120,7 +5120,7 @@ function print_textarea($usehtmleditor, $rows, $cols, $width, $height, $name, $v } else { $ctx = $COURSE->context; } - $ret = repository_get_client($ctx, null, true, null, array('image', 'media'), '*'); + $ret = repository_get_client($ctx, array('image', 'video', 'media'), '*'); $str .= $ret['css'].$ret['js']; $suffix = $ret['suffix']; $str .= '
';