From a86b44b1cafcb56bc8eb85e16ce344c12a90a56b Mon Sep 17 00:00:00 2001 From: dongsheng Date: Wed, 11 Mar 2009 05:43:54 +0000 Subject: [PATCH] "REPOSITORY, GDOCS/MDL-16383, tell filepicker gdocs support documents only" --- repository/googledocs/repository.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5