Matthias Mullie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/221841

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/41/221841/1

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: newchange
Gerrit-Change-Id: I016f6d887b2c6fc9af723a0ebb0b3dde057173cd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>

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

Reply via email to