Dzahn has submitted this change and it was merged.
Change subject: [bug 45770] Add TODO about deprecated mysql_connect()
......................................................................
[bug 45770] Add TODO about deprecated mysql_connect()
Change-Id: I5d657cec716f2f4b97a136fe7ba814d3f431d2ac
---
M templates/misc/bugzilla_report.php
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Dzahn: Looks good to me, approved
diff --git a/templates/misc/bugzilla_report.php
b/templates/misc/bugzilla_report.php
index 6f9ea0f..3681b66 100755
--- a/templates/misc/bugzilla_report.php
+++ b/templates/misc/bugzilla_report.php
@@ -172,6 +172,7 @@
print "MediaWiki Bugzilla Report for " . date('F d, Y', $begin_date) . " - " .
date('F d, Y', $end_date) . "\n\n";
+/* TODO: mysql_connect is deprecated - switch to MySQLi or PDO */
$ok = mysql_connect("db9.pmtpa.wmnet", "bugs", "<%=
scope.lookupvar('passwords::bugzilla::bugzilla_db_pass') %>");
if (!$ok)
reportFailure("DB connection failure");
--
To view, visit https://gerrit.wikimedia.org/r/52397
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5d657cec716f2f4b97a136fe7ba814d3f431d2ac
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Aklapper <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits