EBernhardson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/115528
Change subject: Cleanup unused and undefined classes
......................................................................
Cleanup unused and undefined classes
Change-Id: Id1719564214c5a4df12fc96f24ea841a9cccd15c
---
M includes/Block/Header.php
M includes/Formatter/AbstractFormatter.php
M includes/Log/Logger.php
M includes/Log/PostModerationLogger.php
4 files changed, 4 insertions(+), 5 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/28/115528/1
diff --git a/includes/Block/Header.php b/includes/Block/Header.php
index 785a109..1f5a364 100644
--- a/includes/Block/Header.php
+++ b/includes/Block/Header.php
@@ -2,11 +2,12 @@
namespace Flow\Block;
+use Flow\Container;
+use Flow\Model\Header;
+use Flow\Model\PostRevision;
use Flow\RevisionActionPermissions;
use Flow\View\History\History;
use Flow\View\History\HistoryRenderer;
-use Flow\Container;
-use Flow\Model\Header;
use Flow\Templating;
use Flow\Exception\InvalidActionException;
use Flow\Exception\InvalidDataException;
diff --git a/includes/Formatter/AbstractFormatter.php
b/includes/Formatter/AbstractFormatter.php
index 5183745..5a3bab9 100644
--- a/includes/Formatter/AbstractFormatter.php
+++ b/includes/Formatter/AbstractFormatter.php
@@ -258,6 +258,7 @@
* @param UUID $workflowId
* @param UUID $oldId
* @param UUID $newId
+ * @return array Two element array with string url and Message object
*/
public function revisionDiffLink( Title $title, UUID $workflowId, UUID
$oldId, UUID $newId ) {
return array(
diff --git a/includes/Log/Logger.php b/includes/Log/Logger.php
index ed8aef2..0a99c02 100644
--- a/includes/Log/Logger.php
+++ b/includes/Log/Logger.php
@@ -4,7 +4,6 @@
use Flow\FlowActions;
use Flow\Model\PostRevision;
-use Flow\Model\Workflow;
use Flow\UrlGenerator;
use ManualLogEntry;
use User;
diff --git a/includes/Log/PostModerationLogger.php
b/includes/Log/PostModerationLogger.php
index 1f56e4f..886a882 100644
--- a/includes/Log/PostModerationLogger.php
+++ b/includes/Log/PostModerationLogger.php
@@ -3,10 +3,8 @@
namespace Flow\Log;
use Flow\Data\LifecycleHandler;
-use Flow\Data\ManagerGroup;
use Flow\Model\AbstractRevision;
use Flow\Model\PostRevision;
-use Flow\Repository\TreeRepository;
class PostModerationLogger implements LifecycleHandler {
/**
--
To view, visit https://gerrit.wikimedia.org/r/115528
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id1719564214c5a4df12fc96f24ea841a9cccd15c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits