]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/cancelgroup.php
Work in progress: subscription approval policy field in place on user, hooked up...
[quix0rs-gnu-social.git] / actions / cancelgroup.php
index 57df1a10a7b955470f97485998ed29440efdc3fe..15eb2b5dc398a60492c63f74dd83789ed2bb5153 100644 (file)
@@ -139,7 +139,7 @@ class CancelgroupAction extends Action
         parent::handle($args);
 
         try {
-            $this->profile->cancelJoinGroup($this->group);
+            $this->request->abort();
         } catch (Exception $e) {
             common_log(LOG_ERROR, "Exception canceling group sub: " . $e->getMessage());
             // TRANS: Server error displayed when cancelling a queued group join request fails.