r52488 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52487‎ | r52488 | r52489 >
Date:12:50, 27 June 2009
Author:ialex
Status:reverted
Tags:
Comment:
Mark SpecialVersion::execOutput as static to avoid E_STRICT
Modified paths:
  • /trunk/phase3/includes/specials/SpecialVersion.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialVersion.php
@@ -48,7 +48,7 @@
4949 * @param string command
5050 * @return string output
5151 */
52 - function execOutput( $cmd ) {
 52+ static function execOutput( $cmd ) {
5353 $out = array( $cmd );
5454 exec( $cmd.' 2>&1', $out );
5555 unset($out[0]);

Status & tagging log