Robert Vogel has uploaded a new change for review.

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

Change subject: BSReview: Added steps_id to params, so a hook handler does not 
need to execute that havvy query again
......................................................................

BSReview: Added steps_id to params, so a hook handler does not need to execute 
that havvy query again

=> needs cherry-pick to REL1_27 and back port to REL1_23

Change-Id: If030ba5dde52b5ad27069ebe3f6fb15e3f1d3a53
---
M Review/Review.class.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions 
refs/changes/70/322670/1

diff --git a/Review/Review.class.php b/Review/Review.class.php
index 03874af..07257e0 100644
--- a/Review/Review.class.php
+++ b/Review/Review.class.php
@@ -1284,7 +1284,7 @@
 
                $dbw->freeResult( $res );
 
-               $step_id = $row[ 'revs_id' ];
+               $oParams->stepid = $step_id = $row[ 'revs_id' ];
                $initial_comment = $row[ 'revs_comment' ];
 
                // update data

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If030ba5dde52b5ad27069ebe3f6fb15e3f1d3a53
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: REL1_27
Gerrit-Owner: Robert Vogel <[email protected]>
Gerrit-Reviewer: Pwirth <[email protected]>

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

Reply via email to