Changeset 4961

Show
Ignore:
Timestamp:
09/13/08 10:28:20 (10 months ago)
Author:
jwage
Message:

Fixing use_dql_callbacks so it can be specified at the connection level as well as the manager level.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/lib/Doctrine/Query/Abstract.php

    r4876 r4961  
    10401040    protected function _preQuery() 
    10411041    { 
    1042         if ( ! $this->_preQueried && Doctrine_Manager::getInstance()->getAttribute('use_dql_callbacks')) { 
     1042        if ( ! $this->_preQueried && $this->getConnection()->getAttribute('use_dql_callbacks')) { 
    10431043            $this->_preQueried = true; 
    10441044