jenkins-bot has submitted this change and it was merged.
Change subject: Declare functions with access modifiers
......................................................................
Declare functions with access modifiers
Parents have this visibility.
Change-Id: Icb4d0a112def0ac02f9aa42723c81bc63c085450
---
M includes/api/ApiStashEdit.php
1 file changed, 4 insertions(+), 4 deletions(-)
Approvals:
Ricordisamoa: Looks good to me, but someone else must approve
Anomie: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/api/ApiStashEdit.php b/includes/api/ApiStashEdit.php
index d8562b0..0d469a7 100644
--- a/includes/api/ApiStashEdit.php
+++ b/includes/api/ApiStashEdit.php
@@ -433,19 +433,19 @@
];
}
- function needsToken() {
+ public function needsToken() {
return 'csrf';
}
- function mustBePosted() {
+ public function mustBePosted() {
return true;
}
- function isWriteMode() {
+ public function isWriteMode() {
return true;
}
- function isInternal() {
+ public function isInternal() {
return true;
}
}
--
To view, visit https://gerrit.wikimedia.org/r/275767
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Icb4d0a112def0ac02f9aa42723c81bc63c085450
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: Ricordisamoa <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits