forked from GNUsocial/gnu-social
forgot some functions aren't available at status time
This commit is contained in:
parent
587b7a8b2a
commit
2f82a3d44c
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user