summaryrefslogtreecommitdiff
path: root/scripts/registeruser.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2009-11-08 23:33:58 +0100
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2009-11-08 23:33:58 +0100
commitb10f362ede8c39746c168363bf4fa6481995592b (patch)
treec7a6d4d2ca280ba50d1dbac1113507432e3fe12e /scripts/registeruser.php
parent5ab709b73977131813884558bf56d97172a7aa26 (diff)
parentfc5002015b2a9e16a3c6b9992d55b45c73a8d2fb (diff)
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Diffstat (limited to 'scripts/registeruser.php')
-rw-r--r--scripts/registeruser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/registeruser.php b/scripts/registeruser.php
index 8aab325b7..5d9c8862d 100644
--- a/scripts/registeruser.php
+++ b/scripts/registeruser.php
@@ -60,7 +60,7 @@ try {
'fullname' => $fullname));
if (empty($user)) {
- throw new Exception("Cannot register user '$nickname' with password '$password' and fullname '$fullname'.");
+ throw new Exception("Can't register user '$nickname' with password '$password' and fullname '$fullname'.");
}
if (!empty($email)) {
@@ -71,7 +71,7 @@ try {
if (!$user->updateKeys($orig)) {
print "Failed!\n";
- throw new Exception("Cannot update email address.");
+ throw new Exception("Can't update email address.");
}
}