Fix dead interface in database.php