From 450814ad1e68f1a2a92e3d10b78b8ab7420b2686 Mon Sep 17 00:00:00 2001
From: Alex Orluc <alex.orluc@maarch.org>
Date: Fri, 30 Oct 2015 14:13:37 +0000
Subject: [PATCH] FIX #3011 disable warning

---
 core/trunk/core/docservers_tools.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/trunk/core/docservers_tools.php b/core/trunk/core/docservers_tools.php
index b745b8621b1..5f29317e5ad 100644
--- a/core/trunk/core/docservers_tools.php
+++ b/core/trunk/core/docservers_tools.php
@@ -51,6 +51,7 @@ function Ds_copyOnDocserver(
     $infoFileNameInTargetDocserver,
     $docserverSourceFingerprint='NONE'
 ) {
+    error_reporting(0);
     $destinationDir = $infoFileNameInTargetDocserver['destinationDir'];
     $fileDestinationName =
         $infoFileNameInTargetDocserver['fileDestinationName'];
@@ -114,6 +115,7 @@ function Ds_copyOnDocserver(
  */
 function Ds_createPathOnDocServer($docServer)
 {
+    error_reporting(0);
     umask(0022);
     if (!is_dir($docServer . date('Y') . DIRECTORY_SEPARATOR)) {
         mkdir($docServer . date('Y') . DIRECTORY_SEPARATOR, 0770);
-- 
GitLab