]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Make MailboxAction read only
authorZach Copley <zach@controlyourself.ca>
Thu, 18 Jun 2009 00:29:57 +0000 (17:29 -0700)
committerZach Copley <zach@controlyourself.ca>
Thu, 18 Jun 2009 00:29:57 +0000 (17:29 -0700)
lib/mailbox.php

index b282ce36873b0f77acb59f66cff63af8b16b6e03..f1f6e98c195343d9d36a4becba131b701b30531a 100644 (file)
@@ -295,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;
+    }
+
 }