]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/outbox.php
Check for read vs. read-write access on OAuth authenticated API mehtods.
[quix0rs-gnu-social.git] / actions / outbox.php
index a1fc81dfda22f106396f96bc8a0c52a7635cf9f6..de30de018354ff5e599cb1a20f5d5126120c9872 100644 (file)
@@ -27,7 +27,7 @@
  * @link      http://status.net/
  */
 
-if (!defined('STATUSNET')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
@@ -55,7 +55,7 @@ class OutboxAction extends MailboxAction
     function title()
     {
         if ($this->page > 1) {
-            return sprintf(_("Outbox for %s - page %d"),
+            return sprintf(_("Outbox for %1$s - page %2$d"),
                 $this->user->nickname, $page);
         } else {
             return sprintf(_("Outbox for %s"), $this->user->nickname);