I'm moving a script from PHP4 to PHP5. Everything works under PHP4.

When I run the script under PHP5, I get the following error message:

Call to undefined method Database::doQue ry()

Here is the offending code:
[code=php]
function getBaseURL( )
{
$this->db->doQuery( "SELECT value FROM base_Config WHERE config='".CFG_F IELD_BASE_URL." '...