forgot some functions aren't available at status time

This commit is contained in:
Evan Prodromou 2009-06-15 16:43:39 -07:00
parent 587b7a8b2a
commit 2f82a3d44c
1 changed files with 6 additions and 2 deletions

View 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;
}
}