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

Change subject: Add method to inject a workflow into the urlgenerators workflow 
cache
......................................................................


Add method to inject a workflow into the urlgenerators workflow cache

Change-Id: Icff94d309c2f9e32b984de65a49faee52c4d74ac
---
M includes/UrlGenerator.php
1 file changed, 4 insertions(+), 0 deletions(-)

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



diff --git a/includes/UrlGenerator.php b/includes/UrlGenerator.php
index d064bc2..f592a3f 100644
--- a/includes/UrlGenerator.php
+++ b/includes/UrlGenerator.php
@@ -170,4 +170,8 @@
 
                return $this->buildUrlData( $workflow->getArticleTitle(), 
$action, $query );
        }
+
+       public function withWorkflow( Workflow $workflow ) {
+               $this->workflows[$workflow->getId()->getAlphadecimal()] = 
$workflow;
+       }
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icff94d309c2f9e32b984de65a49faee52c4d74ac
Gerrit-PatchSet: 6
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
Gerrit-Reviewer: Bsitu <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to