]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/shownotice.php
use common_purify to purify HTML, one function to rule them all
[quix0rs-gnu-social.git] / actions / shownotice.php
index 1d01244cc145b845efb01a9ebe3e1f7194291596..2576bcc111fc65b394f48f2acd74b8f763803087 100644 (file)
@@ -77,7 +77,7 @@ class ShownoticeAction extends ManagedAction
 
         if (!$this->notice->inScope($this->scoped)) {
             // TRANS: Client exception thrown when trying a view a notice the user has no access to.
-            throw new ClientException(_('Not available.'), 403);
+            throw new ClientException(_('Access restricted.'), 403);
         }
 
         $this->profile = $this->notice->getProfile();