Commit 50620505 authored by webchick's avatar webchick
Browse files

#697210 by deekayen: Changed Change die() instances to exit() (code style).

parent 2ec27507
......@@ -1374,7 +1374,7 @@ function _locale_export_po($language = NULL, $output = NULL) {
header("Content-Disposition: attachment; filename=$filename");
header("Content-Type: text/plain; charset=utf-8");
print $output;
die();
exit();
}
/**
......
......@@ -60,7 +60,7 @@ function xmlrpc_server($callbacks) {
$data = file_get_contents('php://input');
if (!$data) {
die('XML-RPC server accepts POST requests only.');
exit('XML-RPC server accepts POST requests only.');
}
$xmlrpc_server->message = xmlrpc_message($data);
if (!xmlrpc_message_parse($xmlrpc_server->message)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment