From bcb27c81d479c49613094fe6c147af5bdea3ea3c Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 29 Nov 2012 18:01:21 +0100 Subject: use new obEnd function instead of ob_end_clean --- apps/files/appinfo/remote.php | 2 +- apps/files/download.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/files') diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php index 0ab7e7674c6..1713bcc22ce 100644 --- a/apps/files/appinfo/remote.php +++ b/apps/files/appinfo/remote.php @@ -27,7 +27,7 @@ $RUNTIME_APPTYPES=array('filesystem', 'authentication', 'logging'); OC_App::loadApps($RUNTIME_APPTYPES); -ob_end_clean(); +OC_Util::obEnd(); // Backends $authBackend = new OC_Connector_Sabre_Auth(); diff --git a/apps/files/download.php b/apps/files/download.php index 0d632c9b2c2..6475afb56e0 100644 --- a/apps/files/download.php +++ b/apps/files/download.php @@ -44,5 +44,5 @@ header('Content-Disposition: attachment; filename="'.basename($filename).'"'); OCP\Response::disableCaching(); header('Content-Length: '.OC_Filesystem::filesize($filename)); -@ob_end_clean(); +OC_Util::obEnd(); OC_Filesystem::readfile( $filename ); -- cgit v1.2.3