Completed
Pull Request — master (#31651)
by Thomas
16:24
created
lib/private/Files/Storage/Common.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,6 @@
 block discarded – undo
55 55
 use OCP\Files\Storage\IPersistentLockingStorage;
56 56
 use OCP\Files\Storage\IVersionedStorage;
57 57
 use OCP\Lock\ILockingProvider;
58
-use Sabre\DAV\Exception\NotImplemented;
59 58
 
60 59
 /**
61 60
  * Storage backend class for providing common filesystem operation methods
Please login to merge, or discard this patch.
apps/dav/lib/Connector/Sabre/Node.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,6 @@
 block discarded – undo
39 39
 use OCA\DAV\Connector\Sabre\Exception\Forbidden;
40 40
 use OCA\DAV\Connector\Sabre\Exception\InvalidPath;
41 41
 use OCP\Files\ForbiddenException;
42
-use OCP\Files\Storage\IPersistentLockingStorage;
43 42
 use OCP\Share\Exceptions\ShareNotFound;
44 43
 use OCP\Share\IManager;
45 44
 
Please login to merge, or discard this patch.
apps/dav/lib/Files/FileLocksBackend.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
 	/** @var Tree */
35 35
 	private $tree;
36 36
 
37
+	/**
38
+	 * @param Tree $tree
39
+	 */
37 40
 	public function __construct($tree) {
38 41
 		$this->tree = $tree;
39 42
 	}
Please login to merge, or discard this patch.
lib/private/Lock/Persistent/LockMapper.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -30,6 +30,11 @@  discard block
 block discarded – undo
30 30
 		parent::__construct($db, 'persistent_locks', null);
31 31
 	}
32 32
 
33
+	/**
34
+	 * @param integer $storageId
35
+	 * @param string $internalPath
36
+	 * @param boolean $returnChildLocks
37
+	 */
33 38
 	public function getLocksByPath($storageId, $internalPath, $returnChildLocks) {
34 39
 		$query = $this->db->getQueryBuilder();
35 40
 		$pathPattern = $this->db->escapeLikeParameter($internalPath) . '%';
@@ -56,6 +61,9 @@  discard block
 block discarded – undo
56 61
 		// TODO: insert or update
57 62
 	}
58 63
 
64
+	/**
65
+	 * @param integer $fileId
66
+	 */
59 67
 	public function unlock($fileId, $token) {
60 68
 		$query = $this->db->getQueryBuilder();
61 69
 
Please login to merge, or discard this patch.