diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-06-30 13:50:31 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-06-30 13:50:31 +0200 |
commit | 26e14529be942e3cc3c2bb2b388b155073daecb1 (patch) | |
tree | 71bc8d69735d9229f197c6bbdbdbef63e83e6b36 | |
parent | 149218ead9c43d79e45ba19ea59cd4966a1e046b (diff) | |
download | nextcloud-server-26e14529be942e3cc3c2bb2b388b155073daecb1.tar.gz nextcloud-server-26e14529be942e3cc3c2bb2b388b155073daecb1.zip |
fix error message
-rw-r--r-- | apps/dav/lib/Connector/Sabre/ObjectTree.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/ObjectTree.php b/apps/dav/lib/Connector/Sabre/ObjectTree.php index 8f5f7be2505..d8c1d71e7f1 100644 --- a/apps/dav/lib/Connector/Sabre/ObjectTree.php +++ b/apps/dav/lib/Connector/Sabre/ObjectTree.php @@ -296,7 +296,7 @@ class ObjectTree extends \Sabre\DAV\Tree { $info = $this->fileView->getFileInfo(dirname($destination)); if ($info && !$info->isUpdateable()) { - throw new Forbidden('No permissions to move object.'); + throw new Forbidden('No permissions to copy object.'); } // this will trigger existence check |