summaryrefslogtreecommitdiff
path: root/modules_v3/batch_update
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-01-28 11:01:22 +0000
committerGreg Roach <fisharebest@gmail.com>2015-01-28 11:02:44 +0000
commit0f70b9be1c1baf38659b9c7b919621ac363777ab (patch)
treed91308b22613a6963a3cc46ea85a56baa66ca3f1 /modules_v3/batch_update
parente0d050c57b008e0b7552a5d89593b28b8fb7a355 (diff)
downloadwebtrees-0f70b9be1c1baf38659b9c7b919621ac363777ab.tar.gz
webtrees-0f70b9be1c1baf38659b9c7b919621ac363777ab.tar.bz2
webtrees-0f70b9be1c1baf38659b9c7b919621ac363777ab.zip
Use PHP function to set HTTP status
Diffstat (limited to 'modules_v3/batch_update')
-rw-r--r--modules_v3/batch_update/module.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules_v3/batch_update/module.php b/modules_v3/batch_update/module.php
index b2715ae39e..6f763b751a 100644
--- a/modules_v3/batch_update/module.php
+++ b/modules_v3/batch_update/module.php
@@ -48,7 +48,7 @@ class batch_update_WT_Module extends WT_Module implements WT_Module_Config {
echo $mod->main();
break;
default:
- header('HTTP/1.0 404 Not Found');
+ http_response_code(404);
}
}