diff --git a/lib/connector/sabre/aborteduploaddetectionplugin.php b/lib/connector/sabre/aborteduploaddetectionplugin.php
index 745c4a9942dbf5bce89cfe7919fb88284ae50fe9..1173ff2f9aaa7aca830e07e7d496b392081bc53c 100644
--- a/lib/connector/sabre/aborteduploaddetectionplugin.php
+++ b/lib/connector/sabre/aborteduploaddetectionplugin.php
@@ -54,7 +54,6 @@ class OC_Connector_Sabre_AbortedUploadDetectionPlugin extends Sabre_DAV_ServerPl
 	}
 
 	function afterWriteContent($path, Sabre_DAV_IFile $node) {
-		$path = $path .'/'.$node->getName();
 		$this->verifyContentLength($path);
 	}