From 79832e9382c14d676dc1f1dc52581f98f9162252 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Wed, 24 Jul 2013 16:10:14 +0200
Subject: [PATCH] use output buffering when including the irods libraries

---
 apps/files_external/lib/irods.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/apps/files_external/lib/irods.php b/apps/files_external/lib/irods.php
index ddce8639ff..a343ac5fb2 100644
--- a/apps/files_external/lib/irods.php
+++ b/apps/files_external/lib/irods.php
@@ -11,8 +11,10 @@ namespace OC\Files\Storage;
 set_include_path(get_include_path() . PATH_SEPARATOR .
 	\OC_App::getAppPath('files_external') . '/3rdparty/irodsphp/prods/src');
 
+ob_start();
 require_once 'ProdsConfig.inc.php';
 require_once 'ProdsStreamer.class.php';
+ob_end_clean();
 
 class iRODS extends \OC\Files\Storage\StreamWrapper{
 	private $password;
-- 
GitLab