Show
Ignore:
Timestamp:
04/16/08 15:36:30 (20 months ago)
Author:
mpaschal
Message:

Land the new implementation of metadata based on narrow tables
BugzID: 68749

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-35/lib/MT/Author.pm

    r1823 r1927  
    3737        'userpic_asset_id' => 'integer', 
    3838        'basename' => 'string(255)', 
     39 
     40        # meta properties 
     41        'widgets' => 'hash meta', 
     42        'favorite_blogs' => 'array meta', 
    3943    }, 
    4044    defaults => { 
     
    5963    audit => 1, 
    6064}); 
    61 __PACKAGE__->install_meta({ 
    62     columns => [ 
    63         'favorite_blogs', 
    64         'widgets', 
    65     ], 
    66 }); 
    6765 
    6866sub class_label { 
     
    263261    die unless $perms->isa('MT::Permission'); 
    264262    $perms->can_edit_all_posts || 
    265     ($perms->can_create_post && $entry->author_id == $author->id); 
     263        ($perms->can_create_post && $entry->author_id == $author->id); 
    266264} 
    267265