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

Change subject: Define doesWrites() for SpecialPage classes
......................................................................


Define doesWrites() for SpecialPage classes

Bug: T123591
Change-Id: Ia5a6e297114edf07f80ac65427c37bc271f90123
---
M Poll_body.php
1 file changed, 4 insertions(+), 0 deletions(-)

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



diff --git a/Poll_body.php b/Poll_body.php
index d91d0ae..e8a20c4 100644
--- a/Poll_body.php
+++ b/Poll_body.php
@@ -14,6 +14,10 @@
                parent::__construct( 'Poll' );
        }
 
+       public function doesWrites() {
+               return true;
+       }
+
        public function execute( $par ) {
                $requestObject = $this->getRequest();
                $userObject = $this->getUser();

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia5a6e297114edf07f80ac65427c37bc271f90123
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Poll
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to