summaryrefslogtreecommitdiff
path: root/scripts/makegroupadmin.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makegroupadmin.php')
-rw-r--r--scripts/makegroupadmin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makegroupadmin.php b/scripts/makegroupadmin.php
index 07f980d58..a68798451 100644
--- a/scripts/makegroupadmin.php
+++ b/scripts/makegroupadmin.php
@@ -67,7 +67,7 @@ try {
$member->created = common_sql_now();
if (!$member->insert()) {
- throw new Exception("Cannot add '$nickname' to '$groupname'.");
+ throw new Exception("Can't add '$nickname' to '$groupname'.");
}
}
@@ -80,7 +80,7 @@ try {
$member->is_admin = 1;
if (!$member->update($orig)) {
- throw new Exception("Cannot make '$nickname' admin of '$groupname'.");
+ throw new Exception("Can't make '$nickname' admin of '$groupname'.");
}
} catch (Exception $e) {