]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Remote_profile.php
Merge branch 'master' of gitorious.org:statusnet/mainline
[quix0rs-gnu-social.git] / classes / Remote_profile.php
index 0a1676a6a97952ad56c43eda97f3463981235141..77bfbcd99c201058b69d3139222292775ec310da 100644 (file)
@@ -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."));
         }
     }
 }