aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-01-05 13:48:13 +0100
committerGitHub <noreply@github.com>2020-01-05 13:48:13 +0100
commitd7fdab0c0186254b1fdce4b52e13f2fb8867d3fe (patch)
treebadb5e22b82960b673fc8055ca7e8325b6248ed8
parent9b7c8cac370aebf5e509afd96a4e8fbbacbc25bd (diff)
parent9c5fe8fca430a496e6eca7ab0a62451c863305e6 (diff)
downloadnextcloud-server-d7fdab0c0186254b1fdce4b52e13f2fb8867d3fe.tar.gz
nextcloud-server-d7fdab0c0186254b1fdce4b52e13f2fb8867d3fe.zip
Merge pull request #18641 from HarHarLinks/patch-1
Fix typo in occ
-rw-r--r--core/Command/User/Setting.php2
-rw-r--r--tests/Core/Command/User/SettingTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/User/Setting.php b/core/Command/User/Setting.php
index 72367bca96f..969e0372158 100644
--- a/core/Command/User/Setting.php
+++ b/core/Command/User/Setting.php
@@ -125,7 +125,7 @@ class Setting extends Base {
protected function checkInput(InputInterface $input) {
$uid = $input->getArgument('uid');
if (!$input->getOption('ignore-missing-user') && !$this->userManager->userExists($uid)) {
- throw new \InvalidArgumentException('The user "' . $uid . '" does not exists.');
+ throw new \InvalidArgumentException('The user "' . $uid . '" does not exist.');
}
if ($input->getArgument('key') === '' && $input->hasParameterOption('--default-value')) {
diff --git a/tests/Core/Command/User/SettingTest.php b/tests/Core/Command/User/SettingTest.php
index 7d717343348..8486e7fc3ca 100644
--- a/tests/Core/Command/User/SettingTest.php
+++ b/tests/Core/Command/User/SettingTest.php
@@ -93,7 +93,7 @@ class SettingTest extends TestCase {
[['ignore-missing-user', false]],
[],
null,
- 'The user "username" does not exists.',
+ 'The user "username" does not exist.',
],
[