joomla/joomla-platform — pull request #749 by gpongelli (2012-01-14 14:20:24+00:00)
Title: Fix of getQuery.

Added a $query object to database class that holds JDatabaseQuery object, created and returned by getQuery() .
Aligned getQuery to return only JDatabaseQuery object.