Skip to content
This repository has been archived by the owner on Mar 10, 2018. It is now read-only.

Commit

Permalink
disabled logger (was causing trouble with unit tests)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.symfony-project.com/plugins/swToolboxPlugin/sf1.2/trunk@21649 ee427ae8-e902-0410-961c-c3ed070cd9f9
  • Loading branch information
jlirochon committed Sep 2, 2009
1 parent 0e51008 commit a52ee1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/doctrine/Doctrine_Connection_Mysql.class.php
Expand Up @@ -344,15 +344,15 @@ public function getDbhByType($type, $query = '')

if (sfContext::hasInstance())
{
sfContext::getInstance()->getLogger()->log('{swMasterDoctrine} use '.$this->slave->getName().' for the query : '.$query);
// sfContext::getInstance()->getLogger()->log('{swMasterDoctrine} use '.$this->slave->getName().' for the query : '.$query);
}

return $this->slave->getDbh();
}

if (sfContext::hasInstance())
{
sfContext::getInstance()->getLogger()->log('{swMasterDoctrine} use '.$this->getName().' for the query : '.$query);
// sfContext::getInstance()->getLogger()->log('{swMasterDoctrine} use '.$this->getName().' for the query : '.$query);
}

return $this->dbh;
Expand Down

0 comments on commit a52ee1f

Please sign in to comment.