Merged FileBackend branch. Manually avoiding merging the many prop-only changes SVN...
[lhc/web/wiklou.git] / includes / specials / SpecialUndelete.php
index 68e35b7..c50855e 100644 (file)
@@ -996,7 +996,7 @@ class SpecialUndelete extends SpecialPage {
 
                $repo = RepoGroup::singleton()->getLocalRepo();
                $path = $repo->getZonePath( 'deleted' ) . '/' . $repo->getDeletedHashPath( $key ) . $key;
-               StreamFile::stream( $path );
+               $repo->streamFile( $path );
        }
 
        private function showHistory() {