- Patch #1022426 by bfroehle: _registry_update() invalid arguments to ->rollback().

merge-requests/26/head
Dries Buytaert 2011-01-11 13:33:18 +00:00
parent fa622be169
commit 77489e2f9f
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ function _registry_update() {
_registry_check_code(REGISTRY_RESET_LOOKUP_CACHE);
}
catch (Exception $e) {
$transaction->rollback('registry', $e->getMessage(), array(), WATCHDOG_ERROR);
$transaction->rollback();
watchdog_exception('registry', $e);
throw $e;
}