https://www.mediawiki.org/wiki/Special:Code/MediaWiki/106739

Revision: 106739
Author:   aaron
Date:     2011-12-20 00:25:10 +0000 (Tue, 20 Dec 2011)
Log Message:
-----------
Updated stream file calls :)

Modified Paths:
--------------
    branches/FileBackend/phase3/includes/specials/SpecialRevisiondelete.php
    branches/FileBackend/phase3/includes/specials/SpecialUndelete.php

Modified: 
branches/FileBackend/phase3/includes/specials/SpecialRevisiondelete.php
===================================================================
--- branches/FileBackend/phase3/includes/specials/SpecialRevisiondelete.php     
2011-12-20 00:15:40 UTC (rev 106738)
+++ branches/FileBackend/phase3/includes/specials/SpecialRevisiondelete.php     
2011-12-20 00:25:10 UTC (rev 106739)
@@ -313,7 +313,7 @@
 
                $key = $oimage->getStorageKey();
                $path = $repo->getZonePath( 'deleted' ) . '/' . 
$repo->getDeletedHashPath( $key ) . $key;
-               StreamFile::stream( $path );
+               $repo->streamFile( $path );
        }
 
        /**

Modified: branches/FileBackend/phase3/includes/specials/SpecialUndelete.php
===================================================================
--- branches/FileBackend/phase3/includes/specials/SpecialUndelete.php   
2011-12-20 00:15:40 UTC (rev 106738)
+++ branches/FileBackend/phase3/includes/specials/SpecialUndelete.php   
2011-12-20 00:25:10 UTC (rev 106739)
@@ -996,7 +996,7 @@
 
                $repo = RepoGroup::singleton()->getLocalRepo();
                $path = $repo->getZonePath( 'deleted' ) . '/' . 
$repo->getDeletedHashPath( $key ) . $key;
-               StreamFile::stream( $path );
+               $repo->streamFile( $path );
        }
 
        private function showHistory() {


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to