<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -205,7 +205,7 @@ abstract class Connection
 	public function query($sql, &amp;$values=array())
 	{
 		if (isset($GLOBALS['ACTIVERECORD_LOG']) &amp;&amp; $GLOBALS['ACTIVERECORD_LOG'])
-			$GLOBALS['ACTIVERECORD_LOG']-&gt;log($sql, PEAR_LOG_INFO);
+			$GLOBALS['ACTIVERECORD_LOGGER']-&gt;log($sql, PEAR_LOG_INFO);
 
 		$this-&gt;last_query = $sql;
 </diff>
      <filename>lib/Connection.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9fb89562de5965a5fc1b5967f7e9be777c0ba660</id>
    </parent>
  </parents>
  <author>
    <name>Jacques Fuentes</name>
    <email>jpfuentes2@gmail.com</email>
  </author>
  <url>http://github.com/kla/php-activerecord/commit/8397aaccfb287cc2f72efe240016b10403610a47</url>
  <id>8397aaccfb287cc2f72efe240016b10403610a47</id>
  <committed-date>2009-10-31T15:50:33-07:00</committed-date>
  <authored-date>2009-10-31T15:50:33-07:00</authored-date>
  <message>ACTIVERECORD_LOGGER is an object...ACTIVERECORD_LOG is a boolean

the LOG boolean designates whether or not it should be logged and the LOGGER
is the log object. This will be cleaned up eventually so that it is not
using $GLOBALS and will go through the Config class.</message>
  <tree>8f3beb5ae1f70f9eed319b07fe682b59869f07b4</tree>
  <committer>
    <name>Jacques Fuentes</name>
    <email>jpfuentes2@gmail.com</email>
  </committer>
</commit>
