summaryrefslogtreecommitdiff
path: root/classes/Login_token.php
diff options
context:
space:
mode:
authorIan Denhardt <ian@zenhack.net>2010-08-09 15:06:26 -0400
committerIan Denhardt <ian@zenhack.net>2010-08-09 15:06:26 -0400
commite0da39380024c3d4e7eb9a3ae0c5808ca7dcfb74 (patch)
tree6d1e4f88990203797a405fe673143d660f49cb90 /classes/Login_token.php
parentd933ee7bad47aeb3267dd9c23633d3943478cfe1 (diff)
parentedb62db613478d50def223ec1d60ef5863fa3a4b (diff)
Merge branch '1.0.x' of git://gitorious.org/statusnet/mainline
Diffstat (limited to 'classes/Login_token.php')
-rw-r--r--classes/Login_token.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/Login_token.php b/classes/Login_token.php
index 51dc61262..20d5d9dbc 100644
--- a/classes/Login_token.php
+++ b/classes/Login_token.php
@@ -73,6 +73,8 @@ class Login_token extends Memcached_DataObject
if (!$result) {
common_log_db_error($login_token, 'INSERT', __FILE__);
+ // TRANS: Exception thrown when trying creating a login token failed.
+ // TRANS: %s is the user nickname for which token creation failed.
throw new Exception(sprintf(_('Could not create login token for %s'),
$user->nickname));
}