diff --git a/wp-admin/import-greymatter.php b/wp-admin/import-greymatter.php index 900bed588b..6eed8347cd 100644 --- a/wp-admin/import-greymatter.php +++ b/wp-admin/import-greymatter.php @@ -35,10 +35,10 @@ case "step1": } if (!chdir($archivespath)) - alert_error("Wrong path, $archivespath\ndoesn't exist\non the server"); + die("Wrong path, $archivespath\ndoesn't exist\non the server"); if (!chdir($gmpath)) - alert_error("Wrong path, $gmpath\ndoesn't exist\non the server"); + die("Wrong path, $gmpath\ndoesn't exist\non the server"); ?>
diff --git a/wp-includes/functions.php b/wp-includes/functions.php index b4069fc859..d5cd8b8fcc 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -460,28 +460,6 @@ function gzip_compression() { } } -function alert_error($msg) { // displays a warning box with an error message (original by KYank) - global $$HTTP_SERVER_VARS; - ?> - - - - - - -