From 89107748720a1ee3e7c1f16d439fd18e5bc0f980 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 3 Jan 2012 06:37:55 +0000 Subject: [PATCH] Follow-up r107859: use the proper *Internal functions for doMoveInternal() --- includes/filerepo/backend/FileBackend.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/filerepo/backend/FileBackend.php b/includes/filerepo/backend/FileBackend.php index 37ae39995b..f37ed08fa8 100644 --- a/includes/filerepo/backend/FileBackend.php +++ b/includes/filerepo/backend/FileBackend.php @@ -585,12 +585,12 @@ abstract class FileBackend extends FileBackendBase { */ protected function doMoveInternal( array $params ) { // Copy source to dest - $status = $this->copy( $params ); + $status = $this->copyInternal( $params ); if ( !$status->isOK() ) { return $status; } // Delete source (only fails due to races or medium going down) - $status->merge( $this->delete( array( 'src' => $params['src'] ) ) ); + $status->merge( $this->deleteInternal( array( 'src' => $params['src'] ) ) ); $status->setResult( true, $status->value ); // ignore delete() errors return $status; } -- 2.20.1