From c1968a584debab9861a7092e9683f21dc9b501c3 Mon Sep 17 00:00:00 2001 From: addshore Date: Tue, 21 Feb 2017 16:49:05 +0000 Subject: [PATCH] Add missing access modifiers in UploadBase Change-Id: Ia7a755ec3871f786b440005003f05ed91c14ce5b --- includes/upload/UploadBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/upload/UploadBase.php b/includes/upload/UploadBase.php index 79166ef966..028a5f619a 100644 --- a/includes/upload/UploadBase.php +++ b/includes/upload/UploadBase.php @@ -297,7 +297,7 @@ abstract class UploadBase { * @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 @@ abstract class UploadBase { * * @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 -- 2.20.1