mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Update comment and db selection
Change-Id: I08c1437d58a7811f784a068012de5018b82f0c09
This commit is contained in:
parent
fdf1bc6008
commit
b21e50333d
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Handles email batch for a user for database storage
|
||||
* Handle user email batch ( daily/weekly ) for database storage
|
||||
*/
|
||||
class MWDbEchoEmailBatch extends MWEchoEmailBatch {
|
||||
|
||||
|
@ -165,7 +165,7 @@ class MWDbEchoEmailBatch extends MWEchoEmailBatch {
|
|||
* @param $batchSize int
|
||||
*/
|
||||
public static function actuallyGetUsersToNotify( $startUserId, $batchSize ) {
|
||||
$dbr = wfGetDB( DB_MASTER );
|
||||
$dbr = wfGetDB( DB_SLAVE );
|
||||
$res = $dbr->select(
|
||||
array( 'echo_email_batch' ),
|
||||
array( 'eeb_user_id' ),
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Handles email batch for a user for database storage
|
||||
* Handle user email batch ( daily/ weekly )
|
||||
*/
|
||||
abstract class MWEchoEmailBatch {
|
||||
|
||||
|
|
Loading…
Reference in a new issue