From d0589c3e48d17da120dc65b5f632f71d1a0ccb0f Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Wed, 19 Oct 2016 18:28:38 +0530 Subject: [PATCH] Second param not needed here --- controller/documentcontroller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/documentcontroller.php b/controller/documentcontroller.php index e93b52df..50f7af2c 100644 --- a/controller/documentcontroller.php +++ b/controller/documentcontroller.php @@ -624,7 +624,7 @@ class DocumentController extends Controller { // Setup the FS which is needed to emit hooks (versioning). \OC_Util::tearDownFS(); - \OC_Util::setupFS($userid, $root); + \OC_Util::setupFS($userid); $view->file_put_contents($res['path'], $content);