dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DifferenceEngine: Fix wikidiff2 version check
[lhc/web/wiklou.git]
/
includes
/
import
/
ImportStreamSource.php
diff --git
a/includes/import/ImportStreamSource.php
b/includes/import/ImportStreamSource.php
index
8034400
..
94a2b93
100644
(file)
--- a/
includes/import/ImportStreamSource.php
+++ b/
includes/import/ImportStreamSource.php
@@
-93,7
+93,7
@@
class ImportStreamSource implements ImportSource {
}
$fname = $upload['tmp_name'];
if ( is_uploaded_file( $fname ) ) {
}
$fname = $upload['tmp_name'];
if ( is_uploaded_file( $fname ) ) {
- return
ImportStreamSource
::newFromFile( $fname );
+ return
self
::newFromFile( $fname );
} else {
return Status::newFatal( 'importnofile' );
}
} else {
return Status::newFatal( 'importnofile' );
}
@@
-178,6
+178,6
@@
class ImportStreamSource implements ImportSource {
$url = wfAppendQuery( $link, $params );
# For interwikis, use POST to avoid redirects.
$url = wfAppendQuery( $link, $params );
# For interwikis, use POST to avoid redirects.
- return
ImportStreamSource
::newFromURL( $url, "POST" );
+ return
self
::newFromURL( $url, "POST" );
}
}
}
}