Stop calling FileRepo->streamFile()
[lhc/web/wiklou.git] / includes / specials / SpecialRevisionDelete.php
index f0bac45..dd6fea7 100644 (file)
@@ -353,7 +353,7 @@ class SpecialRevisionDelete extends UnlistedSpecialPage {
 
                $key = $oimage->getStorageKey();
                $path = $repo->getZonePath( 'deleted' ) . '/' . $repo->getDeletedHashPath( $key ) . $key;
-               $repo->streamFile( $path );
+               $repo->streamFileWithStatus( $path );
        }
 
        /**