Pwirth has submitted this change and it was merged.
Change subject: BSBatchFileProcessorBase: Fix and minor changes
......................................................................
BSBatchFileProcessorBase: Fix and minor changes
NEED MERGE TO MASTER
Change-Id: I62a90aa2cdf510dedfecc2e143500370f4064bff
---
M maintenance/BSBatchFileProcessorBase.php
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
Pwirth: Verified; Looks good to me, approved
diff --git a/maintenance/BSBatchFileProcessorBase.php
b/maintenance/BSBatchFileProcessorBase.php
index 1dbdc86..caacf2d 100644
--- a/maintenance/BSBatchFileProcessorBase.php
+++ b/maintenance/BSBatchFileProcessorBase.php
@@ -1,6 +1,6 @@
<?php
-require_once( __DIR_.'/BSMaintenance.php' );
+require_once( __DIR__.'/BSMaintenance.php' );
abstract class BSBatchFileProcessorBase extends BSMaintenance {
@@ -14,7 +14,7 @@
public function __construct() {
parent::__construct();
- $this->addOption('src', 'The path to the source directory',
false, true);
+ $this->addOption('src', 'The path to the source directory',
true, true);
$this->addOption('dest', 'The path to the destination
directory', false, true);
$this->aFileExtensionWhitelist = array_map(
@@ -96,7 +96,7 @@
continue;
}
}
- $aFiles[$oFile->getFilename()] = $oFile;
+ $aFiles[$oFile->getPathname()] = $oFile;
}
ksort($aFiles, SORT_NATURAL);
--
To view, visit https://gerrit.wikimedia.org/r/312506
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I62a90aa2cdf510dedfecc2e143500370f4064bff
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: REL1_23
Gerrit-Owner: Robert Vogel <[email protected]>
Gerrit-Reviewer: Dvogel hallowelt <[email protected]>
Gerrit-Reviewer: Ljonka <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pwirth <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits