Addshore has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/338993 )
Change subject: Add missing access modifiers in UploadBase
......................................................................
Add missing access modifiers in UploadBase
Change-Id: Ia7a755ec3871f786b440005003f05ed91c14ce5b
---
M includes/upload/UploadBase.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/93/338993/1
diff --git a/includes/upload/UploadBase.php b/includes/upload/UploadBase.php
index 79166ef..028a5f6 100644
--- a/includes/upload/UploadBase.php
+++ b/includes/upload/UploadBase.php
@@ -297,7 +297,7 @@
* @param string $srcPath The source path
* @return string|bool The real path if it was a virtual URL Returns
false on failure
*/
- function getRealPath( $srcPath ) {
+ public function getRealPath( $srcPath ) {
$repo = RepoGroup::singleton()->getLocalRepo();
if ( $repo->isVirtualUrl( $srcPath ) ) {
/** @todo Just make uploads work with storage paths
UploadFromStash
@@ -560,7 +560,7 @@
*
* @param array $entry
*/
- function zipEntryCallback( $entry ) {
+ public function zipEntryCallback( $entry ) {
$names = [ $entry['name'] ];
// If there is a null character, cut off the name at it,
because JDK's
--
To view, visit https://gerrit.wikimedia.org/r/338993
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia7a755ec3871f786b440005003f05ed91c14ce5b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits