boolean_to_db has now a boolean as parameter and return a compatible boolean to db as string
use method from DBLayer class (or child)
remove function in functions_dblayer.inc.php