summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-15 16:43:39 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-15 16:43:39 -0700
commit2f82a3d44c4fbb0d9c552a2652e341ec882787c1 (patch)
tree1c5ededa1c97b768b9db9d37114fae8aca920606 /classes
parent587b7a8b2ad0b260cc3159da260a4d439c2a5f0c (diff)
forgot some functions aren't available at status time
Diffstat (limited to 'classes')
-rw-r--r--classes/Status_network.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/classes/Status_network.php b/classes/Status_network.php
index eef27d765..128721f41 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 "<a href='$destination'>$destination</a>\n";
+
+ exit;
}
}