MDL-33595 fix recent initial PHPUnit init regression

This commit is contained in:
Petr Skoda
2012-06-08 11:50:03 +02:00
parent 78117cb1a4
commit 7cb76d1645
-2
View File
@@ -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);