MDL-51172 core: Adjust WS help strings
authorAndrew Nicols <andrew@nicols.co.uk>
Wed, 23 Sep 2015 06:48:59 +0000 (14:48 +0800)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 24 Sep 2015 13:37:12 +0000 (15:37 +0200)
user/externallib.php

index 59a749d..728f23c 100644 (file)
@@ -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;