From f8ba6474788b5382de8211909ef61564fc5c63ca Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 31 May 2013 10:56:12 -0700 Subject: [PATCH] Fixed trailing slash removal code. Change-Id: I152dcec5cc8f4c417e3503f4b8fd3fdd8bc4fda5 --- maintenance/copyFileBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/copyFileBackend.php b/maintenance/copyFileBackend.php index 1ccd1217b3..13301edc2e 100644 --- a/maintenance/copyFileBackend.php +++ b/maintenance/copyFileBackend.php @@ -56,7 +56,7 @@ class CopyFileBackend extends Maintenance { $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' ); -- 2.20.1