]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/mailbox.php
don't hide unsub button for remote users
[quix0rs-gnu-social.git] / lib / mailbox.php
index 766510a47b94318d4d0eb78a8021a584c9fefd84..f1f6e98c195343d9d36a4becba131b701b30531a 100644 (file)
@@ -31,8 +31,6 @@ if (!defined('LACONICA')) {
     exit(1);
 }
 
-require_once INSTALLDIR.'/lib/personal.php';
-
 define('MESSAGES_PER_PAGE', 20);
 
 /**
@@ -297,4 +295,17 @@ class MailboxAction extends CurrentUserDesignAction
         return;
     }
 
+    /**
+     * Mailbox actions are read only
+     *
+     * @param array $args other arguments
+     *
+     * @return boolean
+     */
+
+    function isReadOnly($args)
+    {
+         return true;
+    }
+
 }