Show
Ignore:
Timestamp:
04/13/08 04:41:46 (20 months ago)
Author:
bchoate
Message:

Applied patches from Ogawa-san to add an optimized 'exist' method for testing for existing rows. BugId:69661

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-34/lib/MT/Template/ContextHandlers.pm

    r1862 r1873  
    30433043 
    30443044    my $class = MT->model('entry'); 
    3045     $class->count( \%terms ); 
     3045    $class->exist( \%terms ); 
    30463046} 
    30473047 
     
    30583058 
    30593059    my $class = MT->model('page'); 
    3060     $class->count( \%terms ); 
     3060    $class->exist( \%terms ); 
    30613061} 
    30623062