Matthias Mullie has uploaded a new change for review.

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

Change subject: Update workflow_last_update_timestamp when Header is edited
......................................................................

Update workflow_last_update_timestamp when Header is edited

Change-Id: I389d7b273b4428584183c9e8f1e9b820c32d6c66
---
M includes/Block/Header.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/54/204754/1

diff --git a/includes/Block/Header.php b/includes/Block/Header.php
index af3796e..122d8e3 100644
--- a/includes/Block/Header.php
+++ b/includes/Block/Header.php
@@ -173,6 +173,7 @@
        public function commit() {
                switch( $this->action ) {
                        case 'edit-header':
+                               $this->workflow->updateLastModified( 
$this->newRevision->getRevisionId() );
                                $this->storage->put( $this->newRevision, array(
                                        'workflow' => $this->workflow,
                                ) );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I389d7b273b4428584183c9e8f1e9b820c32d6c66
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <mmul...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to