Only take one field in fetchFieldValues

That is causing T350726 and we already set the field in one line above

Follows-Up: I63ac37c2b73073e8e323f6627785955196cd148c
Bug: T350726
Change-Id: I9f28e326aefa206fe8f4d3f6a1038740fed9b0d4
This commit is contained in:
Amir Sarabadani 2023-11-08 12:00:09 +01:00
parent 5ffaf34258
commit 9c24383f80

View file

@ -489,7 +489,6 @@ class ParserFileProcessingHookHandlers implements
->select( $blTitle )
->tables( $queryInfo['tables'] )
->joinConds( $queryInfo['joins'] )
->fields( $queryInfo['fields'] )
->where( [ 'pl_from' => (int)$id, $blNamespace => NS_FILE ] )
->caller( __METHOD__ )->fetchFieldValues();
}