summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/apioauthstore.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/apioauthstore.php b/lib/apioauthstore.php
index 84c4c78e5..01116ad3e 100644
--- a/lib/apioauthstore.php
+++ b/lib/apioauthstore.php
@@ -175,11 +175,11 @@ class ApiStatusNetOAuthDataStore extends StatusNetOAuthDataStore
$rt->state = 0;
if (!$rt->find(true)) {
// TRANS: Exception thrown when an attempt is made to revoke an unknown token.
- throw new Exception(_('Tried to revoke unknown token'));
+ throw new Exception(_('Tried to revoke unknown token.'));
}
if (!$rt->delete()) {
// TRANS: Exception thrown when an attempt is made to remove a revoked token.
- throw new Exception(_('Failed to delete revoked token'));
+ throw new Exception(_('Failed to delete revoked token.'));
}
}
}