summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/google.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-02 12:54:31 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-02 12:54:31 +0200
commit8c7f8546716ac77cdeaa134caf9fae22232ce213 (patch)
tree80c98f5aaf0274e5c38c3d55af9400a720552745 /apps/files_external/lib/google.php
parentf1830866a3f20e50c3d409d3cdd508a98fc56377 (diff)
downloadnextcloud-server-8c7f8546716ac77cdeaa134caf9fae22232ce213.tar.gz
nextcloud-server-8c7f8546716ac77cdeaa134caf9fae22232ce213.zip
move all the files stuff into a files class
Diffstat (limited to 'apps/files_external/lib/google.php')
-rwxr-xr-xapps/files_external/lib/google.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php
index 24a9d6c3d52..a133d35e737 100755
--- a/apps/files_external/lib/google.php
+++ b/apps/files_external/lib/google.php
@@ -84,7 +84,7 @@ class OC_Filestorage_Google extends OC_Filestorage_Common {
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
}
if ($isDownload) {
- $tmpFile = OCP\Util::tmpFile();
+ $tmpFile = OCP\Files::tmpFile();
$fp = fopen($tmpFile, 'w');
curl_setopt($curl, CURLOPT_FILE, $fp);
curl_exec($curl);