From 7cb76d16450560e64a79e9168852fbebd8e885ae Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Fri, 8 Jun 2012 11:50:03 +0200 Subject: [PATCH] MDL-33595 fix recent initial PHPUnit init regression --- lib/setup.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/setup.php b/lib/setup.php index 23cf9e189df..74f6520f87b 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -488,8 +488,6 @@ if (PHPUNIT_TEST and !PHPUNIT_UTIL) { if ($dbhash) { // we ned to reinit if reset fails $DB->set_field('config', 'value', 'na', array('name'=>'phpunittest')); - } else { - throw $e; } } unset($dbhash);