Aaron Schulz has uploaded a new change for review.

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

Change subject: Set doesWrites() where needed
......................................................................

Set doesWrites() where needed

Change-Id: I84a31c9ab46ac6e2abdde319de7a9d1ec2fdef27
---
M frontend/specialpages/actions/RevisionReview_body.php
M frontend/specialpages/actions/Stabilization_body.php
2 files changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/FlaggedRevs 
refs/changes/96/282096/1

diff --git a/frontend/specialpages/actions/RevisionReview_body.php 
b/frontend/specialpages/actions/RevisionReview_body.php
index 5aa03ba..1e157e5 100644
--- a/frontend/specialpages/actions/RevisionReview_body.php
+++ b/frontend/specialpages/actions/RevisionReview_body.php
@@ -8,6 +8,10 @@
                parent::__construct( 'RevisionReview', 'review' );
        }
 
+       public function doesWrites() {
+               return true;
+       }
+
        public function execute( $par ) {
                $out = $this->getOutput();
                $user = $this->getUser();
diff --git a/frontend/specialpages/actions/Stabilization_body.php 
b/frontend/specialpages/actions/Stabilization_body.php
index c5ebd74..e3788d5 100644
--- a/frontend/specialpages/actions/Stabilization_body.php
+++ b/frontend/specialpages/actions/Stabilization_body.php
@@ -8,6 +8,10 @@
                parent::__construct( 'Stabilization', 'stablesettings' );
        }
 
+       public function doesWrites() {
+               return true;
+       }
+
        public function execute( $par ) {
                $out = $this->getOutput();
                $user = $this->getUser();

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I84a31c9ab46ac6e2abdde319de7a9d1ec2fdef27
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/FlaggedRevs
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

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

Reply via email to