Robert Vogel has uploaded a new change for review.
https://gerrit.wikimedia.org/r/312506
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(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceFoundation
refs/changes/06/312506/1
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: newchange
Gerrit-Change-Id: I62a90aa2cdf510dedfecc2e143500370f4064bff
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: REL1_23
Gerrit-Owner: Robert Vogel <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits