]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/leaveform.php
move profile block to the aside
[quix0rs-gnu-social.git] / lib / leaveform.php
index 7068da0eb7692e9f01ea47663bbc51eec56b4ab5..34671f5f8d246d9acbd8759b9b2acb392597b79a 100644 (file)
@@ -28,7 +28,7 @@
  * @link      http://status.net/
  */
 
-if (!defined('STATUSNET')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
@@ -88,7 +88,7 @@ class LeaveForm extends Form
 
     function formClass()
     {
-        return 'form_group_leave';
+        return 'form_group_leave ajax';
     }
 
     /**
@@ -100,7 +100,7 @@ class LeaveForm extends Form
     function action()
     {
         return common_local_url('leavegroup',
-                                array('nickname' => $this->group->nickname));
+                                array('id' => $this->group->id));
     }
 
     /**