Skip to content

Commit

Permalink
MDL-27382 repository dropbox plugin, fixed bug of
Browse files Browse the repository at this point in the history
file downloading path
  • Loading branch information
Dongsheng Cai committed May 5, 2011
1 parent b8df941 commit 991aa8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions repository/dropbox/lib.php
Expand Up @@ -245,6 +245,7 @@ public function get_option($config = '') {
*/
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);
}
/**
Expand Down

0 comments on commit 991aa8a

Please sign in to comment.