Change to allow Joomla 2.5 compatibility
Disabled the printing of a query to screen