r106835 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106834‎ | r106835 | r106836 >
Date:18:58, 20 December 2011
Author:aaron
Status:deferred
Tags:
Comment:
Updated stream calls to use the new FileRepo functions since that paths are now storage paths.
Modified paths:
  • /trunk/extensions/ConfirmAccount/frontend/specialpages/actions/ConfirmAccount_body.php (modified) (history)
  • /trunk/extensions/ConfirmAccount/frontend/specialpages/actions/UserCredentials_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/frontend/specialpages/actions/UserCredentials_body.php
@@ -208,7 +208,7 @@
209209 $path = $repo->getZonePath( 'public' ) . '/' .
210210 UserAccountRequest::relPathFromKey( $key );
211211
212 - StreamFile::stream( $path );
 212+ $repo->streamFile( $path );
213213 }
214214
215215 function getAccountData() {
Index: trunk/extensions/ConfirmAccount/frontend/specialpages/actions/ConfirmAccount_body.php
@@ -433,7 +433,7 @@
434434 $path = $repo->getZonePath( 'public' ) . '/' .
435435 UserAccountRequest::relPathFromKey( $key );
436436
437 - StreamFile::stream( $path );
 437+ $repo->streamFile( $path );
438438 }
439439
440440 protected function doAccountConfirmSubmit() {

Status & tagging log