From: Aaron Schulz Date: Fri, 31 May 2013 17:56:12 +0000 (-0700) Subject: Fixed trailing slash removal code. X-Git-Tag: 1.31.0-rc.0~19532 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=f8ba6474788b5382de8211909ef61564fc5c63ca;p=lhc%2Fweb%2Fwiklou.git Fixed trailing slash removal code. Change-Id: I152dcec5cc8f4c417e3503f4b8fd3fdd8bc4fda5 --- 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' );