From 4c4d185937687a2a806a8d2b144eaf2dff17acb5 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Sun, 24 Jul 2016 08:35:21 -0400 Subject: Remove logger calls --- vendor/sabre/dav/lib/DAV/Browser/Plugin.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vendor/sabre/dav/lib/DAV/Browser/Plugin.php b/vendor/sabre/dav/lib/DAV/Browser/Plugin.php index 72b04065a..4959193ea 100644 --- a/vendor/sabre/dav/lib/DAV/Browser/Plugin.php +++ b/vendor/sabre/dav/lib/DAV/Browser/Plugin.php @@ -221,8 +221,7 @@ class Plugin extends DAV\ServerPlugin { if ($_FILES) $file = current($_FILES); else break; - logger('$_FILES: ' . json_encode($_FILES)); - logger('$file: ' . json_encode($file)); + list(, $newName) = URLUtil::splitPath(trim($file['name'])); if (isset($postVars['name']) && trim($postVars['name'])) $newName = trim($postVars['name']); -- cgit v1.2.3