Merge branch 's9_MDL-27382_dropbox_get_file_fix_20' of github.com:dongsheng/moodle into MOODLE_20_STABLE

This commit is contained in:
Sam Hemelryk
2011-05-05 13:26:46 +08:00
+1
View File
@@ -251,6 +251,7 @@ class repository_dropbox extends repository {
*/
public function get_file($filepath, $saveas = '') {
$this->dropbox->set_access_token($this->access_key, $this->access_secret);
$saveas = $this->prepare_file($saveas);
return $this->dropbox->get_file($filepath, $saveas);
}
/**