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:
3bb675b
)
Explicitly declare ApiFormatXml::addXslt() protected
author
Siebrand Mazeland
<siebrand@kitano.nl>
Tue, 8 Mar 2016 07:32:10 +0000
(08:32 +0100)
committer
Anomie
<bjorsch@wikimedia.org>
Tue, 8 Mar 2016 16:12:26 +0000
(16:12 +0000)
Only used in private/protected context.
Change-Id: Ic44d6e70e89c3d229d79aa08d2a0092609e7d62e
includes/api/ApiFormatXml.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiFormatXml.php
b/includes/api/ApiFormatXml.php
index
be9b6d0
..
a45dbeb
100644
(file)
--- a/
includes/api/ApiFormatXml.php
+++ b/
includes/api/ApiFormatXml.php
@@
-266,7
+266,7
@@
class ApiFormatXml extends ApiFormatBase {
);
}
- function addXslt() {
+
protected
function addXslt() {
$nt = Title::newFromText( $this->mXslt );
if ( is_null( $nt ) || !$nt->exists() ) {
$this->setWarning( 'Invalid or non-existent stylesheet specified' );