r69606 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69605‎ | r69606 | r69607 >
Date:12:19, 20 July 2010
Author:werdna
Status:deferred
Tags:
Comment:
Merge r69605
Modified paths:
  • /branches/wmf/1.16wmf4/extensions/CommunityHiring (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/CommunityHiring/CommunityHiring.php (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/CommunityHiring/SpecialCommunityHiring.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf4/extensions/CommunityHiring/CommunityHiring.php
@@ -5,3 +5,5 @@
66 $wgAutoloadClasses['SpecialCommunityHiring'] = dirname(__FILE__) . "/SpecialCommunityHiring.php";
77
88 $wgExtensionMessagesFiles['CommunityHiring'] = dirname( __FILE__ ) . "/CommunityHiring.i18n.php";
 9+
 10+$wgCommunityHiringDatabase = false;
Index: branches/wmf/1.16wmf4/extensions/CommunityHiring/SpecialCommunityHiring.php
@@ -200,9 +200,9 @@
201201 }
202202
203203 function submit( $info ) {
204 - global $wgOut;
 204+ global $wgOut, $wgCommunityHiringDatabase;
205205
206 - $dbw = wfGetDB( DB_MASTER );
 206+ $dbw = wfGetDB( DB_MASTER, array(), $wgCommunityHiringDatabase );
207207
208208 $dbw->insert( 'community_hiring_application',
209209 array( 'ch_data' => json_encode($info),
Property changes on: branches/wmf/1.16wmf4/extensions/CommunityHiring
___________________________________________________________________
Modified: svn:mergeinfo
210210 Merged /trunk/extensions/CommunityHiring:r68925,69416-69605

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r69605Make the database into which CommunityHiring saves its data configurable.werdna12:07, 20 July 2010

Status & tagging log