summaryrefslogtreecommitdiff
path: root/includes/registry.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-01-11 13:33:18 +0000
committerDries Buytaert <dries@buytaert.net>2011-01-11 13:33:18 +0000
commit77489e2f9f1d5f94f7263851f9a08aa04e0f5a2f (patch)
tree7a0af884db586793981a595de9cb23ed8e1e6ef9 /includes/registry.inc
parentfa622be169820e8c1f0dd3b32d2b911ffbd76eb4 (diff)
downloadbrdo-77489e2f9f1d5f94f7263851f9a08aa04e0f5a2f.tar.gz
brdo-77489e2f9f1d5f94f7263851f9a08aa04e0f5a2f.tar.bz2
- Patch #1022426 by bfroehle: _registry_update() invalid arguments to ->rollback().
Diffstat (limited to 'includes/registry.inc')
-rw-r--r--includes/registry.inc3
1 files changed, 2 insertions, 1 deletions
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;
}