]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/joingroup.php
show forwards in the inbox
[quix0rs-gnu-social.git] / actions / joingroup.php
index 32b59efa081a69a91383bbb3e0c9ab2180d9f8e2..bf69b2ad1e40769df3b7c5c5278b3cd77303528b 100644 (file)
@@ -27,7 +27,7 @@
  * @link      http://status.net/
  */
 
-if (!defined('STATUSNET')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
@@ -56,11 +56,6 @@ class JoingroupAction extends Action
     {
         parent::prepare($args);
 
-        if (!common_config('inboxes','enabled')) {
-            $this->serverError(_('Inboxes must be enabled for groups to work'));
-            return false;
-        }
-
         if (!common_logged_in()) {
             $this->clientError(_('You must be logged in to join a group.'));
             return false;