@@ -55,7 +55,6 @@ |
||
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 |
@@ -39,7 +39,6 @@ |
||
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 |
@@ -75,6 +75,9 @@ |
||
75 | 75 | return $this->findEntities($query->getSQL(), $query->getParameters()); |
76 | 76 | } |
77 | 77 | |
78 | + /** |
|
79 | + * @param integer $fileId |
|
80 | + */ |
|
78 | 81 | public function deleteByFileIdAndToken($fileId, $token) { |
79 | 82 | $query = $this->db->getQueryBuilder(); |
80 | 83 |