summaryrefslogtreecommitdiff
path: root/classes/Remote_profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Remote_profile.php')
-rw-r--r--classes/Remote_profile.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/Remote_profile.php b/classes/Remote_profile.php
index 0a1676a6a..77bfbcd99 100644
--- a/classes/Remote_profile.php
+++ b/classes/Remote_profile.php
@@ -50,7 +50,8 @@ class Remote_profile extends Memcached_DataObject
if ($profile) {
return $profile->hasright($right);
} else {
- throw new Exception("Missing profile");
+ // TRANS: Exception thrown when a right for a non-existing user profile is checked.
+ throw new Exception(_("Missing profile."));
}
}
}