]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
forgot some functions aren't available at status time
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 15 Jun 2009 23:43:39 +0000 (16:43 -0700)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 15 Jun 2009 23:43:39 +0000 (16:43 -0700)
classes/Status_network.php

index eef27d76533db85360c8036e6f586ce8a52cc23c..128721f41b10dd13dd95c74a1f570b103391bd1e 100644 (file)
@@ -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 "<a href='$destination'>$destination</a>\n";
+
+        exit;
     }
 }