Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/265021
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Poll
refs/changes/21/265021/1
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: newchange
Gerrit-Change-Id: Ia5a6e297114edf07f80ac65427c37bc271f90123
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Poll
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits