Aaron Schulz has uploaded a new change for review. https://gerrit.wikimedia.org/r/66284
Change subject: Fixed trailing slash removal code. ...................................................................... Fixed trailing slash removal code. Change-Id: I152dcec5cc8f4c417e3503f4b8fd3fdd8bc4fda5 (cherry picked from commit f8ba6474788b5382de8211909ef61564fc5c63ca) --- M maintenance/copyFileBackend.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/84/66284/1 diff --git a/maintenance/copyFileBackend.php b/maintenance/copyFileBackend.php index 1ccd121..13301ed 100644 --- a/maintenance/copyFileBackend.php +++ b/maintenance/copyFileBackend.php @@ -56,7 +56,7 @@ $src = FileBackendGroup::singleton()->get( $this->getOption( 'src' ) ); $dst = FileBackendGroup::singleton()->get( $this->getOption( 'dst' ) ); $containers = explode( '|', $this->getOption( 'containers' ) ); - $subDir = $this->getOption( rtrim( 'subdir', '/' ), '' ); + $subDir = rtrim( $this->getOption( 'subdir', '' ), '/' ); $rateFile = $this->getOption( 'ratefile' ); -- To view, visit https://gerrit.wikimedia.org/r/66284 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I152dcec5cc8f4c417e3503f4b8fd3fdd8bc4fda5 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: wmf/1.22wmf5 Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits