]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/unblock.php
Notice class has methods to check content length
[quix0rs-gnu-social.git] / actions / unblock.php
index bad4963534e48123352a088a4c006e93042a4bab..05d57c60d5dcdbe59b6b21ba93b7b6775c5827a9 100644 (file)
@@ -12,7 +12,7 @@
  * @link     http://laconi.ca/
  *
  * Laconica - a distributed open-source microblogging tool
- * Copyright (C) 2008, Controlez-Vous, Inc.
+ * Copyright (C) 2008, 2009, Control Yourself, Inc.
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as published by
@@ -116,10 +116,11 @@ class UnblockAction extends Action
             }
         }
         if ($action) {
-            common_redirect(common_local_url($action, $args));
+            common_redirect(common_local_url($action, $args), 303);
         } else {
-            common_redirect(common_local_url('subscriptions',
-                                             array('nickname' => $cur->nickname)));
+            common_redirect(common_local_url('subscribers',
+                                             array('nickname' => $cur->nickname)),
+                            303);
         }
     }
 }