]> git.mjollnir.org Git - moodle.git/commitdiff
"REPOSITORY, GDOCS/MDL-16383, tell filepicker gdocs support documents only"
authordongsheng <dongsheng>
Wed, 11 Mar 2009 05:43:54 +0000 (05:43 +0000)
committerdongsheng <dongsheng>
Wed, 11 Mar 2009 05:43:54 +0000 (05:43 +0000)
repository/googledocs/repository.class.php

index 01803551b3140fbd4a027ea5b40a55d6d8f852fe..18abc15f7879bc08bc30c9d7daf5c33849172cc5 100644 (file)
@@ -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