summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-29 05:35:21 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-29 05:35:21 +0000
commitd97f4bdba3e29ea63f488e56f5141a203b7b2171 (patch)
tree97754f9205093256f69b178678f9089cf039b05d /includes
parente1a00ff848b226f256149781c78bd4749877aa1b (diff)
downloadbrdo-d97f4bdba3e29ea63f488e56f5141a203b7b2171.tar.gz
brdo-d97f4bdba3e29ea63f488e56f5141a203b7b2171.tar.bz2
#697210 follow-up by deekayen, moshe weitzman: Changed Change die() instances to exit().
Diffstat (limited to 'includes')
-rw-r--r--includes/locale.inc2
-rw-r--r--includes/xmlrpcs.inc3
2 files changed, 3 insertions, 2 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index fab8356bf..543ebc48a 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -1391,7 +1391,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;
- exit();
+ drupal_exit();
}
/**
diff --git a/includes/xmlrpcs.inc b/includes/xmlrpcs.inc
index 441bb33ca..eb12966a1 100644
--- a/includes/xmlrpcs.inc
+++ b/includes/xmlrpcs.inc
@@ -60,7 +60,8 @@ function xmlrpc_server($callbacks) {
$data = file_get_contents('php://input');
if (!$data) {
- exit('XML-RPC server accepts POST requests only.');
+ print 'XML-RPC server accepts POST requests only.';
+ drupal_exit();
}
$xmlrpc_server->message = xmlrpc_message($data);
if (!xmlrpc_message_parse($xmlrpc_server->message)) {