jenkins-bot has submitted this change and it was merged.
Change subject: Missing 3rd argument in onAfterInsert() function call
......................................................................
Missing 3rd argument in onAfterInsert() function call
Bug:69767
Change-Id: Iac18b1ef259a8d73ca4e19a86fd278e92e547a01
---
M maintenance/FlowPopulateLinksTables.php
1 file changed, 12 insertions(+), 2 deletions(-)
Approvals:
EBernhardson: Looks good to me, approved
jenkins-bot: Verified
diff --git a/maintenance/FlowPopulateLinksTables.php
b/maintenance/FlowPopulateLinksTables.php
index a8acb7a..5e1220e 100644
--- a/maintenance/FlowPopulateLinksTables.php
+++ b/maintenance/FlowPopulateLinksTables.php
@@ -59,7 +59,12 @@
$header = $storage->get( $uuid );
if ( $header ) {
echo "Processing header $alpha\n";
- $recorder->onAfterInsert( $header,
array() );
+ $recorder->onAfterInsert(
+ $header, array(),
+ array(
+ 'workflow' =>
$header->getCollection()->getWorkflow()
+ )
+ );
}
}
$dbf->waitForSlaves();
@@ -94,7 +99,12 @@
$post = $storage->get( $uuid );
if ( $post ) {
echo "Processing post $alpha\n";
- $recorder->onAfterInsert( $post,
array() );
+ $recorder->onAfterInsert(
+ $post, array(),
+ array(
+ 'workflow' =>
$post->getCollection()->getWorkflow()
+ )
+ );
}
}
}
--
To view, visit https://gerrit.wikimedia.org/r/155470
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iac18b1ef259a8d73ca4e19a86fd278e92e547a01
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Bsitu <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: SG <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits