Changeset 4330

Show
Ignore:
Timestamp:
05/01/08 23:11:39 (14 months ago)
Author:
jwage
Message:

Fixing pgsql md5 expression

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/lib/Doctrine/Expression/Pgsql.php

    r4252 r4330  
    5555        $column = $this->getIdentifier($column); 
    5656 
    57         if ($this->version > 7) { 
    58             return 'MD5(' . $column . ')'; 
    59         } else { 
    60             return 'encode(digest(' . $column .', md5), hex)'; 
    61         } 
     57        return 'MD5(' . $column . ')'; 
    6258    } 
    6359