MDL-27382 repository dropbox plugin, fixed bug of
file downloading path
This commit is contained in:
@@ -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);
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user