remove unused database hook.