MDL-51172 core: Adjust WS help strings
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
fff882dd8a
commit
dcfae879e9
@@ -179,7 +179,7 @@ class core_user_external extends external_api {
|
||||
|
||||
// Make sure we have a password or have to create one.
|
||||
if (empty($user['password']) && empty($user['createpassword'])) {
|
||||
throw new invalid_parameter_exception('Invalid password: you must inform a password or set createpassword.');
|
||||
throw new invalid_parameter_exception('Invalid password: you must provide a password, or set createpassword.');
|
||||
}
|
||||
|
||||
$user['confirmed'] = true;
|
||||
|
||||
Reference in New Issue
Block a user