Mark SpecialVersion::execOutput as static to avoid E_STRICT
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 27 Jun 2009 12:50:59 +0000 (12:50 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 27 Jun 2009 12:50:59 +0000 (12:50 +0000)
includes/specials/SpecialVersion.php

index 2fdab96..8a4fe6f 100644 (file)
@@ -48,7 +48,7 @@ class SpecialVersion extends SpecialPage {
         * @param string command
         * @return string output
         */
-       function execOutput( $cmd ) {
+       static function execOutput( $cmd ) {
                $out = array( $cmd );
                exec( $cmd.' 2>&1', $out );
                unset($out[0]);