X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=actions%2Fsubscribe.php;h=4c46806e4047bcb211dcbffa71e2e2e8e376e076;hb=40e875f9cc5ec0c17605adcef73205a49f422abd;hp=f761992de40f6fd7401f77ebae0a5b024642a20d;hpb=ab16bb876b895c16f3a7da8eb658e68dc9a9eb24;p=quix0rs-gnu-social.git diff --git a/actions/subscribe.php b/actions/subscribe.php index f761992de4..4c46806e40 100644 --- a/actions/subscribe.php +++ b/actions/subscribe.php @@ -1,7 +1,7 @@ . */ -if (!defined('LACONICA')) { exit(1); } +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } class SubscribeAction extends Action { @@ -75,7 +75,8 @@ class SubscribeAction extends Action $this->elementEnd('html'); } else { common_redirect(common_local_url('subscriptions', array('nickname' => - $user->nickname))); + $user->nickname)), + 303); } } }