Matthias Mullie has uploaded a new change for review.

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

Change subject: Add missing use statements
......................................................................

Add missing use statements

Change-Id: Iebbcaf75d919e9f57f9029df17244a61bb176871
---
M includes/Block/TopicSummary.php
1 file changed, 3 insertions(+), 1 deletion(-)


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

diff --git a/includes/Block/TopicSummary.php b/includes/Block/TopicSummary.php
index 127bcee..d71e794 100644
--- a/includes/Block/TopicSummary.php
+++ b/includes/Block/TopicSummary.php
@@ -4,6 +4,7 @@
 
 use Flow\Container;
 use Flow\Exception\FailCommitException;
+use Flow\Exception\FlowException;
 use Flow\Exception\InvalidActionException;
 use Flow\Exception\InvalidDataException;
 use Flow\Exception\InvalidInputException;
@@ -11,6 +12,7 @@
 use Flow\Formatter\PostSummaryViewQuery;
 use Flow\Formatter\PostSummaryQuery;
 use Flow\Formatter\RevisionViewFormatter;
+use Flow\Formatter\RevisionViewQuery;
 use Flow\Model\PostRevision;
 use Flow\Model\PostSummary;
 use Flow\Model\UUID;
@@ -342,7 +344,7 @@
 
        protected function renderUndoApi( array $options ) {
                if ( $this->workflow->isNew() ) {
-                       throw new FlowException( 'No header exists to undo' );
+                       throw new FlowException( 'No topic exists to undo' );
                }
 
                if ( !isset( $options['startId'], $options['endId'] ) ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iebbcaf75d919e9f57f9029df17244a61bb176871
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <mmul...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to