http://www.mediawiki.org/wiki/Special:Code/MediaWiki/67392

Revision: 67392
Author:   maxsem
Date:     2010-06-05 07:23:45 +0000 (Sat, 05 Jun 2010)

Log Message:
-----------
Translate: fixed a couple of E_DEPRECATED

Modified Paths:
--------------
    trunk/extensions/Translate/utils/TranslateYaml.php

Modified: trunk/extensions/Translate/utils/TranslateYaml.php
===================================================================
--- trunk/extensions/Translate/utils/TranslateYaml.php  2010-06-05 07:07:32 UTC 
(rev 67391)
+++ trunk/extensions/Translate/utils/TranslateYaml.php  2010-06-05 07:23:45 UTC 
(rev 67392)
@@ -51,7 +51,7 @@
                       'close($fh);' .
                           "' 2>&1";
 
-               $out = wfShellExec( $cmd, &$ret );
+               $out = wfShellExec( $cmd, $ret );
 
                if ( $ret != 0 ) {
                        wfDebugDieBacktrace( "The command '$cmd' died in 
execution with exit code '$ret': $out" );
@@ -95,7 +95,7 @@
                               '}' .
                           '}' .
                           "' 2>&1";
-               $out = wfShellExec( $cmd, &$ret );
+               $out = wfShellExec( $cmd, $ret );
                if ( $ret != 0 ) {
                        wfDebugDieBacktrace( "The command '$cmd' died in 
execution with exit code '$ret': $out" );
                }



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

Reply via email to