From: Reedy Date: Thu, 19 Apr 2018 19:01:26 +0000 (+0000) Subject: Don't pass USE INDEX to a $dbType parameter X-Git-Tag: 1.34.0-rc.0~5664^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=16f1dc75496676b57bedbbf6a2c0a572381c3f4c Don't pass USE INDEX to a $dbType parameter Bug: T192584 Change-Id: Ia2b761bad570532696419b4f23f84bc85ff2c0e8 --- diff --git a/includes/page/Article.php b/includes/page/Article.php index 48f2ab3861..c865d4ed53 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -1065,8 +1065,7 @@ class Article implements Page { 'rc_namespace' => NS_FILE, 'rc_cur_id' => $title->getArticleID() ], - __METHOD__, - [ 'USE INDEX' => 'rc_timestamp' ] + __METHOD__ ); if ( $rc ) { // Use patrol message specific to files