]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-17391, change paramters of repository_get_client.
authormoodler <moodler>
Tue, 9 Dec 2008 06:50:06 +0000 (06:50 +0000)
committermoodler <moodler>
Tue, 9 Dec 2008 06:50:06 +0000 (06:50 +0000)
lib/weblib.php

index 5cd606f35ac344ab9b8b05e5fc175fe98ec23eb1..3569958cca44f4888f4e9ae0c4774d961193230d 100644 (file)
@@ -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 .= '<div class="textareaicons">';