Robert Vogel has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/364655 )

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(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions 
refs/changes/55/364655/1

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/364655
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I968a3375f1ea6b3949bbfe628016b84892f91426
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: REL1_27
Gerrit-Owner: Robert Vogel <[email protected]>
Gerrit-Reviewer: ItSpiderman <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to