From 77489e2f9f1d5f94f7263851f9a08aa04e0f5a2f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 11 Jan 2011 13:33:18 +0000 Subject: - Patch #1022426 by bfroehle: _registry_update() invalid arguments to ->rollback(). --- includes/registry.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes/registry.inc') diff --git a/includes/registry.inc b/includes/registry.inc index 99fbfef63..04f9874ac 100644 --- a/includes/registry.inc +++ b/includes/registry.inc @@ -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; } -- cgit v1.2.3