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);