From 00894a4484c985de1ffb6b6417243bac100e4298 Mon Sep 17 00:00:00 2001 From: suecarmol Date: Sat, 4 May 2024 16:09:02 +0300 Subject: [PATCH] Replace rc_new for rc_source in DB query Replaces the rc_new field for rc_source because rc_new has become obsolete. Bug: T36320 Change-Id: I821332c2484850dd3ad293703faafbd29379a83e --- includes/SpecialNuke.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialNuke.php b/includes/SpecialNuke.php index 3bc0e539..af67a9f1 100644 --- a/includes/SpecialNuke.php +++ b/includes/SpecialNuke.php @@ -322,7 +322,7 @@ class SpecialNuke extends SpecialPage { ->join( 'actor', null, 'actor_id=rc_actor' ) ->join( 'page', null, 'page_id=rc_cur_id' ) ->where( - $dbr->expr( 'rc_new', '=', 1 )->orExpr( + $dbr->expr( 'rc_source', '=', 'mw.new' )->orExpr( $dbr->expr( 'rc_log_type', '=', 'upload' ) ->and( 'rc_log_action', '=', 'upload' ) )