Revert "A $db not used"

This reverts commit 0e5fc3534bf024360d14f00f24c55e28cf58a108.

Signed-off-by: emanuele <emanuele45@gmail.com>