Show
Ignore:
Timestamp:
04/11/08 19:19:30 (20 months ago)
Author:
bchoate
Message:

Changes to store binary state to junk_status column. BugId:79280

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-34/lib/MT/CMS/Search.pm

    r1823 r1866  
    412412        } 
    413413        if ( $class->has_column('junk_status') ) { 
     414            require MT::Comment; 
    414415            if ($is_junk) { 
    415                 $terms{junk_status} = -1; 
     416                $terms{junk_status} = MT::Comment::JUNK(); 
    416417            } 
    417418            else { 
    418                 $terms{junk_status} = [ 0, 1 ]; 
     419                $terms{junk_status} = MT::Comment::NOT_JUNK(); 
    419420            } 
    420421        }