Fixed problem with non existing variable $db and removed not used variable $conf
Merge pull request #1564 from marcosgdf/minor

Fixed problem with non existing variable $db and removed not used variab...