r67392 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67391‎ | r67392 | r67393 >
Date:07:23, 5 June 2010
Author:maxsem
Status:deferred
Tags:
Comment:
Translate: fixed a couple of E_DEPRECATED
Modified paths:
  • /trunk/extensions/Translate/utils/TranslateYaml.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/TranslateYaml.php
@@ -51,7 +51,7 @@
5252 'close($fh);' .
5353 "' 2>&1";
5454
55 - $out = wfShellExec( $cmd, &$ret );
 55+ $out = wfShellExec( $cmd, $ret );
5656
5757 if ( $ret != 0 ) {
5858 wfDebugDieBacktrace( "The command '$cmd' died in execution with exit code '$ret': $out" );
@@ -95,7 +95,7 @@
9696 '}' .
9797 '}' .
9898 "' 2>&1";
99 - $out = wfShellExec( $cmd, &$ret );
 99+ $out = wfShellExec( $cmd, $ret );
100100 if ( $ret != 0 ) {
101101 wfDebugDieBacktrace( "The command '$cmd' died in execution with exit code '$ret': $out" );
102102 }

Status & tagging log