From: Evan Prodromou Date: Mon, 15 Jun 2009 23:43:39 +0000 (-0700) Subject: forgot some functions aren't available at status time X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2f82a3d44c4fbb0d9c552a2652e341ec882787c1;p=quix0rs-gnu-social.git forgot some functions aren't available at status time --- diff --git a/classes/Status_network.php b/classes/Status_network.php index eef27d7653..128721f41b 100644 --- a/classes/Status_network.php +++ b/classes/Status_network.php @@ -107,7 +107,11 @@ class Status_network extends DB_DataObject return false; } - common_redirect($destination, 301); - // shouldn't get here + header('HTTP/1.1 301 Moved Permanently'); + header("Location: $destination"); + + print "$destination\n"; + + exit; } }