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: I79b15eb50b153b4bf3c866284e76b92bafa7e8f7
---
M SpecialAdminPoll.php
M SpecialCreatePoll.php
2 files changed, 8 insertions(+), 0 deletions(-)

Approvals:
  Ori.livneh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/SpecialAdminPoll.php b/SpecialAdminPoll.php
index 8b44e35..9012512 100644
--- a/SpecialAdminPoll.php
+++ b/SpecialAdminPoll.php
@@ -14,6 +14,10 @@
                parent::__construct( 'AdminPoll', 'polladmin' );
        }
 
+       public function doesWrites() {
+               return true;
+       }
+
        /**
         * Show the special page
         *
diff --git a/SpecialCreatePoll.php b/SpecialCreatePoll.php
index 06db9fa..c2dc5c0 100644
--- a/SpecialCreatePoll.php
+++ b/SpecialCreatePoll.php
@@ -13,6 +13,10 @@
                parent::__construct( 'CreatePoll' );
        }
 
+       public function doesWrites() {
+               return true;
+       }
+
        /**
         * Show the special page
         *

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I79b15eb50b153b4bf3c866284e76b92bafa7e8f7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PollNY
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to