From: addshore Date: Tue, 21 Feb 2017 16:49:05 +0000 (+0000) Subject: Add missing access modifiers in UploadBase X-Git-Tag: 1.31.0-rc.0~3953^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=c1968a584debab9861a7092e9683f21dc9b501c3;p=lhc%2Fweb%2Fwiklou.git Add missing access modifiers in UploadBase Change-Id: Ia7a755ec3871f786b440005003f05ed91c14ce5b --- 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