Skip to content

Commit b1671b4

Browse files
committed
Added NotImplemented exception
1 parent 73c189d commit b1671b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Sabre/DAV/Locks/Plugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ public function lockNode($uri,Sabre_DAV_Locks_LockInfo $lockInfo) {
374374
// In case the node didn't exist, this could be a lock-null request
375375
}
376376
if ($this->locksBackend) return $this->locksBackend->lock($uri,$lockInfo);
377+
throw new Sabre_DAV_Exception_NotImplemented('Locking support not implemented for this resource. No Locking backend was found');
377378

378379
}
379380

0 commit comments

Comments
 (0)