Aaron Schulz has uploaded a new change for review.

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

Change subject: Use DBO_DEBUG instead of debug() method on the DB
......................................................................

Use DBO_DEBUG instead of debug() method on the DB

Change-Id: Ic8c706ab0955620434ff62a1e2ef0c05b18ef916
---
M cli/wm-scripts/bv2013/buildSpamTranslations.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SecurePoll 
refs/changes/92/311492/1

diff --git a/cli/wm-scripts/bv2013/buildSpamTranslations.php 
b/cli/wm-scripts/bv2013/buildSpamTranslations.php
index edee85a..f2e40df 100644
--- a/cli/wm-scripts/bv2013/buildSpamTranslations.php
+++ b/cli/wm-scripts/bv2013/buildSpamTranslations.php
@@ -9,7 +9,7 @@
 $wgDebugLogFile = '/dev/stderr';
 
 $dbr = wfGetDB( DB_SLAVE );
-$dbr->debug( true );
+$dbr->setFlag( DBO_DEBUG );
 
 $prefix = "Wikimedia_Foundation_elections_2013/Voter_e-mail/";
 $textPrefix = '<languages />';

-- 
To view, visit https://gerrit.wikimedia.org/r/311492
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic8c706ab0955620434ff62a1e2ef0c05b18ef916
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SecurePoll
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>

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

Reply via email to