Index: branches/FileBackend/phase3/includes/specials/SpecialUndelete.php |
— | — | @@ -996,7 +996,7 @@ |
997 | 997 | |
998 | 998 | $repo = RepoGroup::singleton()->getLocalRepo(); |
999 | 999 | $path = $repo->getZonePath( 'deleted' ) . '/' . $repo->getDeletedHashPath( $key ) . $key; |
1000 | | - StreamFile::stream( $path ); |
| 1000 | + $repo->streamFile( $path ); |
1001 | 1001 | } |
1002 | 1002 | |
1003 | 1003 | private function showHistory() { |
Index: branches/FileBackend/phase3/includes/specials/SpecialRevisiondelete.php |
— | — | @@ -313,7 +313,7 @@ |
314 | 314 | |
315 | 315 | $key = $oimage->getStorageKey(); |
316 | 316 | $path = $repo->getZonePath( 'deleted' ) . '/' . $repo->getDeletedHashPath( $key ) . $key; |
317 | | - StreamFile::stream( $path ); |
| 317 | + $repo->streamFile( $path ); |
318 | 318 | } |
319 | 319 | |
320 | 320 | /** |