Dzahn has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/355558 )
Change subject: fix syntax error in index.php, extra comma
......................................................................
fix syntax error in index.php, extra comma
Change-Id: I8257d93446ed893cf5189786395c0d4172861720
---
M index.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/software/dbtree
refs/changes/58/355558/1
diff --git a/index.php b/index.php
index 66a470c..3fbb064 100644
--- a/index.php
+++ b/index.php
@@ -17,7 +17,7 @@
# return http 503 if database connection fails to prevent
# error pages from being cached in varnish (T163143)
function db_fail($db_name, $db_host) {
- header($_SERVER['SERVER_PROTOCOL'] . ' Service Unavailable' . , true, 503);
+ header($_SERVER['SERVER_PROTOCOL'] . ' Service Unavailable', true, 503);
die('database connection to ' . $db_name . ' on ' . $db_host . 'failed');
}
--
To view, visit https://gerrit.wikimedia.org/r/355558
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8257d93446ed893cf5189786395c0d4172861720
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/dbtree
Gerrit-Branch: master
Gerrit-Owner: Dzahn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits