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/Comment.pm

    r1578 r1866  
    1010use base qw( MT::Object MT::Scorable ); 
    1111use MT::Util qw( weaken ); 
     12 
     13sub JUNK ()     { -1 } 
     14sub NOT_JUNK () { 1 } 
    1215 
    1316__PACKAGE__->install_properties({ 
     
    5558    }, 
    5659    defaults => { 
    57         junk_status => 0, 
     60        junk_status => NOT_JUNK, 
    5861        last_moved_on => '20000101000000', 
    5962    }, 
     
    6265    primary_key => 'id', 
    6366}); 
    64  
    65 sub JUNK ()     { -1 } 
    66 sub NOT_JUNK () { 1 } 
    6767 
    6868my %blocklists = ();