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

Change subject: Fix double-compression
......................................................................


Fix double-compression

setNextContent sets content via setContent, which already takes care of 
compressing the content & setting the flags

Change-Id: Iac41a0ddcf85b757c333e72a200d15bb17314ad5
---
M includes/Model/AbstractRevision.php
1 file changed, 0 insertions(+), 5 deletions(-)

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



diff --git a/includes/Model/AbstractRevision.php 
b/includes/Model/AbstractRevision.php
index e2f10da..e753eac 100644
--- a/includes/Model/AbstractRevision.php
+++ b/includes/Model/AbstractRevision.php
@@ -374,11 +374,6 @@
                        $this->lastEditId = $this->getRevisionId();
                        $this->lastEditUserId = $user->getId();
                        $this->lastEditUserText = $user->getName();
-
-                       // flags are strictly related to the content
-                       // should this only remove a subset of flags?
-                       $this->flags = array_filter( explode( ',', 
\Revision::compressRevisionText( $this->content ) ) );
-                       $this->flags[] = $storageFormat;
                }
        }
 

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

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

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

Reply via email to