jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/364420 )
Change subject: UEModulePDF: Bugs on new class
......................................................................
UEModulePDF: Bugs on new class
Change-Id: I968a3375f1ea6b3949bbfe628016b84892f91426
---
M UEModulePDF/includes/PDFFileResolver.php
1 file changed, 4 insertions(+), 3 deletions(-)
Approvals:
Robert Vogel: Looks good to me, approved
jenkins-bot: Verified
diff --git a/UEModulePDF/includes/PDFFileResolver.php
b/UEModulePDF/includes/PDFFileResolver.php
index 99906b7..d565ec5 100644
--- a/UEModulePDF/includes/PDFFileResolver.php
+++ b/UEModulePDF/includes/PDFFileResolver.php
@@ -40,7 +40,7 @@
/**
* @var string
*/
- protected $sAbsoluteFilesystemName = '';
+ protected $sAbsoluteFilesystemPath = '';
/**
*
@@ -134,6 +134,7 @@
if ( !is_null( $oFileRepoLocalRef ) ) {
$this->sAbsoluteFilesystemPath =
$oFileRepoLocalRef->getPath();
}
+ $this->sSourceFileName = $this->oFileObject->getName();
} else {
$this->sAbsoluteFilesystemPath =
$this->getFileSystemPath( $wgUploadPath . $this->sSourceFilePath );
}
@@ -141,7 +142,7 @@
protected function setFileName() {
if( !empty( $this->sAbsoluteFilesystemPath ) ) {
- $this->sSourceFileName = $this->oFileObject->getName();
+ $this->sFileName = $this->oFileObject->getName();
}
}
@@ -151,7 +152,7 @@
}
public function getAbsoluteFilesystemPath() {
- return $this->sAbsoluteFilesystemName;
+ return $this->sAbsoluteFilesystemPath;
}
public function getFileName() {
--
To view, visit https://gerrit.wikimedia.org/r/364420
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I968a3375f1ea6b3949bbfe628016b84892f91426
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: ItSpiderman <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits