X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fleaveform.php;h=34671f5f8d246d9acbd8759b9b2acb392597b79a;hb=1d29ba83150bdd7a23e497ca9a743ac2b6158b6f;hp=1dab6d99e3edd0f8289c55806ca3072855b67a63;hpb=ae883ceb9b4689f6c1dd3aecdc4a844eda7d179a;p=quix0rs-gnu-social.git diff --git a/lib/leaveform.php b/lib/leaveform.php index 1dab6d99e3..34671f5f8d 100644 --- a/lib/leaveform.php +++ b/lib/leaveform.php @@ -28,7 +28,7 @@ * @link http://status.net/ */ -if (!defined('LACONICA')) { +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)); } /**