mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
synced 2024-11-24 00:05:33 +00:00
Merge "Replace rc_new for rc_source in DB query"
This commit is contained in:
commit
9663707fba
|
@ -348,7 +348,7 @@ class SpecialNuke extends SpecialPage {
|
||||||
->join( 'actor', null, 'actor_id=rc_actor' )
|
->join( 'actor', null, 'actor_id=rc_actor' )
|
||||||
->join( 'page', null, 'page_id=rc_cur_id' )
|
->join( 'page', null, 'page_id=rc_cur_id' )
|
||||||
->where(
|
->where(
|
||||||
$dbr->expr( 'rc_new', '=', 1 )->orExpr(
|
$dbr->expr( 'rc_source', '=', 'mw.new' )->orExpr(
|
||||||
$dbr->expr( 'rc_log_type', '=', 'upload' )
|
$dbr->expr( 'rc_log_type', '=', 'upload' )
|
||||||
->and( 'rc_log_action', '=', 'upload' )
|
->and( 'rc_log_action', '=', 'upload' )
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue