MDL-27382 repository dropbox plugin, fixed bug of

file downloading path
This commit is contained in:
Dongsheng Cai
2011-05-05 09:57:34 +08:00
parent 7daba2713e
commit 98d9209a34
+1
View File
@@ -245,6 +245,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);
}
/**