dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
8c1bd90
)
Merge "Declare functions with access modifiers"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Tue, 8 Mar 2016 16:38:13 +0000
(16:38 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 8 Mar 2016 16:38:13 +0000
(16:38 +0000)
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;
}
}