Aklapper has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/52397


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/97/52397/1

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: newchange
Gerrit-Change-Id: I5d657cec716f2f4b97a136fe7ba814d3f431d2ac
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Aklapper <aklap...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to