Skip to content

Commit

Permalink
Added NotImplemented exception
Browse files Browse the repository at this point in the history
  • Loading branch information
evert committed Nov 2, 2009
1 parent 73c189d commit b1671b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Sabre/DAV/Locks/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ public function lockNode($uri,Sabre_DAV_Locks_LockInfo $lockInfo) {
// In case the node didn't exist, this could be a lock-null request
}
if ($this->locksBackend) return $this->locksBackend->lock($uri,$lockInfo);
throw new Sabre_DAV_Exception_NotImplemented('Locking support not implemented for this resource. No Locking backend was found');

}

Expand Down

0 comments on commit b1671b4

Please sign in to comment.