Merge "Replace rc_new for rc_source in DB query"

This commit is contained in:
jenkins-bot 2024-05-05 11:43:53 +00:00 committed by Gerrit Code Review
commit 9663707fba

View file

@ -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' )
) )