add 410 status code for deleted topics

This commit is contained in:
Aleksei Miheev
2012-07-09 17:59:51 +04:00
parent 24f3b62eb1
commit 8a492275f1

View File

@@ -337,6 +337,7 @@ function loadBoard()
// The permissions and theme need loading, just to make sure everything goes smoothly.
loadPermissions();
loadTheme();
header("Status: 410");
fatal_lang_error('topic_gone', false);
}