From: dongsheng Date: Wed, 11 Mar 2009 05:43:54 +0000 (+0000) Subject: "REPOSITORY, GDOCS/MDL-16383, tell filepicker gdocs support documents only" X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a86b44b1cafcb56bc8eb85e16ce344c12a90a56b;p=moodle.git "REPOSITORY, GDOCS/MDL-16383, tell filepicker gdocs support documents only" --- diff --git a/repository/googledocs/repository.class.php b/repository/googledocs/repository.class.php index 01803551b3..18abc15f78 100644 --- a/repository/googledocs/repository.class.php +++ b/repository/googledocs/repository.class.php @@ -122,6 +122,8 @@ class repository_googledocs extends repository { return $dir.$file; } - + public function supported_filetypes() { + return array('document'); + } } //Icon from: http://www.iconspedia.com/icon/google-2706.html