This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

disabled logger (was causing trouble with unit tests)

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 a52ee1feb45b4e439e7fbe0cd96bb4df72ad95f4
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/doctrine/Doctrine_Connection_Mysql.class.php
@@ -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;

0 comments on commit a52ee1f

Please sign in to comment.