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

Revision: 76258
Author:   ialex
Date:     2010-11-07 18:38:34 +0000 (Sun, 07 Nov 2010)
Log Message:
-----------
Set $ok at the beginning of the function; this variable is missing is case of 
failure in setupDatabase()

Modified Paths:
--------------
    trunk/phase3/maintenance/tests/parser/parserTest.inc

Modified: trunk/phase3/maintenance/tests/parser/parserTest.inc
===================================================================
--- trunk/phase3/maintenance/tests/parser/parserTest.inc        2010-11-07 
18:36:10 UTC (rev 76257)
+++ trunk/phase3/maintenance/tests/parser/parserTest.inc        2010-11-07 
18:38:34 UTC (rev 76258)
@@ -337,6 +337,7 @@
         * @return Boolean: true if passed all tests, false if any tests failed.
         */
        public function runTestsFromFiles( $filenames ) {
+               $ok = false;
                $GLOBALS['wgContLang'] = Language::factory( 'en' );
                $this->recorder->start();
                try {


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to