From 6fe98000b5e0b4bcd95893ae12c31092ef180f6d Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 8 Jan 2014 15:42:44 -0800 Subject: [PATCH] Made use of proper backend-fail-store message Change-Id: I89d275926530b16f5660863608b89541d72c9f33 --- includes/filebackend/SwiftFileBackend.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/filebackend/SwiftFileBackend.php b/includes/filebackend/SwiftFileBackend.php index 1480662561..8790f05398 100644 --- a/includes/filebackend/SwiftFileBackend.php +++ b/includes/filebackend/SwiftFileBackend.php @@ -262,7 +262,7 @@ class SwiftFileBackend extends FileBackendStore { $sha1Hash = sha1_file( $params['src'] ); wfRestoreWarnings(); if ( $sha1Hash === false ) { // source doesn't exist? - $status->fatal( 'backend-fail-copy', $params['src'], $params['dst'] ); + $status->fatal( 'backend-fail-store', $params['src'], $params['dst'] ); return $status; } @@ -271,7 +271,7 @@ class SwiftFileBackend extends FileBackendStore { $handle = fopen( $params['src'], 'rb+' ); if ( $handle === false ) { // source doesn't exist? - $status->fatal( 'backend-fail-copy', $params['src'], $params['dst'] ); + $status->fatal( 'backend-fail-store', $params['src'], $params['dst'] ); return $status; } -- 2.20.1