jenkins-bot has submitted this change and it was merged.

Change subject: Stop calling non-existing Connection::getRevisionType
......................................................................


Stop calling non-existing Connection::getRevisionType

That was removed in one patch but some other place was apparently still
calling it.

Bug: T104269
Change-Id: I016f6d887b2c6fc9af723a0ebb0b3dde057173cd
---
M maintenance/FlowSearchConfig.php
1 file changed, 4 insertions(+), 2 deletions(-)

Approvals:
  Catrope: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/maintenance/FlowSearchConfig.php b/maintenance/FlowSearchConfig.php
index 20f1f91..a495126 100644
--- a/maintenance/FlowSearchConfig.php
+++ b/maintenance/FlowSearchConfig.php
@@ -425,11 +425,13 @@
        }
 
        protected function getOldTopicType() {
-               return Connection::getRevisionType( $this->indexBaseName, 
Connection::TOPIC_TYPE_NAME );
+               $index = Connection::getFlowIndex( $this->indexBaseName );
+               return $index->getType( Connection::TOPIC_TYPE_NAME );
        }
 
        protected function getOldHeaderType() {
-               return Connection::getRevisionType( $this->indexBaseName, 
Connection::HEADER_TYPE_NAME );
+               $index = Connection::getFlowIndex( $this->indexBaseName );
+               return $index->getType( Connection::HEADER_TYPE_NAME );
        }
 
        protected function getAllIndices() {

-- 
To view, visit https://gerrit.wikimedia.org/r/221841
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I016f6d887b2c6fc9af723a0ebb0b3dde057173cd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to