summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-06-11 14:53:50 +0200
committerLukas Reschke <lukas@owncloud.com>2015-06-11 14:53:50 +0200
commitdbe344ef3dc3ea643513fce8d76d1979d733c49a (patch)
tree59ca3b5271cfdc44485e980b0a88420ee7efaa77
parentfee52f7f44d4c82ce2756cbf5976fa43e59c5d34 (diff)
parentbffadd069dd3f0eccbe2c5e6dfe69e8942d981f5 (diff)
downloadnextcloud-server-dbe344ef3dc3ea643513fce8d76d1979d733c49a.tar.gz
nextcloud-server-dbe344ef3dc3ea643513fce8d76d1979d733c49a.zip
Merge pull request #16879 from jcfischer/jcf_fix_user_delete_message
Fix error message and add 'user' to it
-rw-r--r--core/command/user/delete.php2
-rw-r--r--tests/core/command/user/deletetest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/command/user/delete.php b/core/command/user/delete.php
index 8cac03157eb..63b81134873 100644
--- a/core/command/user/delete.php
+++ b/core/command/user/delete.php
@@ -63,6 +63,6 @@ class Delete extends Command {
return;
}
- $output->writeln('<error>The specified could not be deleted. Please check the logs.</error>');
+ $output->writeln('<error>The specified user could not be deleted. Please check the logs.</error>');
}
}
diff --git a/tests/core/command/user/deletetest.php b/tests/core/command/user/deletetest.php
index 99822ec6589..bb813626d7a 100644
--- a/tests/core/command/user/deletetest.php
+++ b/tests/core/command/user/deletetest.php
@@ -53,7 +53,7 @@ class DeleteTest extends TestCase {
public function validUserLastSeen() {
return [
[true, 'The specified user was deleted'],
- [false, 'The specified could not be deleted'],
+ [false, 'The specified user could not be deleted'],
];
}