aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-06-07 20:40:55 +0200
committerJoas Schilling <coding@schilljs.com>2022-06-07 20:40:55 +0200
commit50c697dbd4a8f8ab2f372944c0a55ad89f201f40 (patch)
tree7fdcf9daf4670d1016b3a79b13d11463991aed02 /apps/files_sharing/lib
parenta33310f1b13b64fa5c88b4d5f2ecbf3d9d3bb569 (diff)
downloadnextcloud-server-50c697dbd4a8f8ab2f372944c0a55ad89f201f40.tar.gz
nextcloud-server-50c697dbd4a8f8ab2f372944c0a55ad89f201f40.zip
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/Controller/RemoteController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/Controller/RemoteController.php b/apps/files_sharing/lib/Controller/RemoteController.php
index 75684220c52..47523e08639 100644
--- a/apps/files_sharing/lib/Controller/RemoteController.php
+++ b/apps/files_sharing/lib/Controller/RemoteController.php
@@ -86,7 +86,7 @@ class RemoteController extends OCSController {
$this->logger->error('Could not accept federated share with id: ' . $id,
['app' => 'files_sharing']);
- throw new OCSNotFoundException('wrong share ID, share doesn\'t exist.');
+ throw new OCSNotFoundException('wrong share ID, share does not exist.');
}
/**
@@ -106,7 +106,7 @@ class RemoteController extends OCSController {
// Make sure the user has no notification for something that does not exist anymore.
$this->externalManager->processNotification($id);
- throw new OCSNotFoundException('wrong share ID, share doesn\'t exist.');
+ throw new OCSNotFoundException('wrong share ID, share does not exist.');
}
/**