dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5433a5e
)
Declare functions with access modifiers
author
Siebrand Mazeland
<siebrand@kitano.nl>
Tue, 8 Mar 2016 07:46:02 +0000
(08:46 +0100)
committer
Anomie
<bjorsch@wikimedia.org>
Tue, 8 Mar 2016 16:16:33 +0000
(16:16 +0000)
Parents have this visibility.
Change-Id: Icb4d0a112def0ac02f9aa42723c81bc63c085450
includes/api/ApiStashEdit.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiStashEdit.php
b/includes/api/ApiStashEdit.php
index
d8562b0
..
0d469a7
100644
(file)
--- a/
includes/api/ApiStashEdit.php
+++ b/
includes/api/ApiStashEdit.php
@@
-433,19
+433,19
@@
class ApiStashEdit extends ApiBase {
];
}
- 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;
}
}