summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-03 10:46:27 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-03 10:46:27 +0200
commit351740601a81558843a92670ad113a61f6e2f1be (patch)
tree1fab36790b5cafe288a0c37ddcf517ab6ae07aa1 /apps/files
parent80dff77b659d843994255509fe2f3204e2b6193e (diff)
downloadnextcloud-server-351740601a81558843a92670ad113a61f6e2f1be.tar.gz
nextcloud-server-351740601a81558843a92670ad113a61f6e2f1be.zip
port oc_response
Diffstat (limited to 'apps/files')
-rwxr-xr-xapps/files/download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/download.php b/apps/files/download.php
index a4077b9f042..e98cf2ecd31 100755
--- a/apps/files/download.php
+++ b/apps/files/download.php
@@ -41,7 +41,7 @@ $ftype=OC_Filesystem::getMimeType( $filename );
header('Content-Type:'.$ftype);
header('Content-Disposition: attachment; filename="'.basename($filename).'"');
-OC_Response::disableCaching();
+OCP\Response::disableCaching();
header('Content-Length: '.OC_Filesystem::filesize($filename));
@ob_end_clean();