Don't make useless status_header() call. fixes #4249

git-svn-id: http://svn.automattic.com/wordpress/trunk@5458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-05-12 19:30:38 +00:00
parent a22990a56e
commit f417e94b89

View File

@ -370,10 +370,6 @@ class wpdb {
if ( !$this->show_errors )
return false;
if ( function_exists( 'status_header' ) ) {
status_header( 503 );
}
header('Content-Type: text/html; charset=utf-8');
if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false)