Fixed db calls that were made to functions not present in JDatabase driver for Joomla 1.5