Changeset 2321

Show
Ignore:
Timestamp:
05/14/08 03:50:45 (21 months ago)
Author:
fumiakiy
Message:

Skip upgrading of metadata if we are installing, not upgrading. BugId:79742

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-38/lib/MT/Upgrade.pm

    r2320 r2321  
    940940sub core_upgrade_meta { 
    941941    my $self = shift; 
     942 
    942943    my $types = MT->registry('object_types'); 
    943944    my %added_step; 
     
    10121013sub core_upgrade_meta_for_table { 
    10131014    my $self = shift; 
     1015    return 0 if $Installing; 
    10141016    my (%param) = @_; 
    10151017    my $type = $param{type};