The correct, advertised way to use JDatabaseQuery in 1.6 was:
$db = JFactory::getDbo();
$query = $db->getQuery(true);
The following incorrect practice will no longer work in 1.7.
$db = JFactory::getDbo();
$query = new JDatabaseQuery;
Developers of 1.6 extensions are advised to upgrade their code
immediately to the correct format (which will work fine in both Joomla
1.6 and 1.7).
Wiki page has been updated:
Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla 1.6 developers