From: Aaron Schulz Date: Tue, 3 Jan 2012 06:37:55 +0000 (+0000) Subject: Follow-up r107859: use the proper *Internal functions for doMoveInternal() X-Git-Tag: 1.31.0-rc.0~25600 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=89107748720a1ee3e7c1f16d439fd18e5bc0f980;p=lhc%2Fweb%2Fwiklou.git Follow-up r107859: use the proper *Internal functions for doMoveInternal() --- 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; }