Changeset 2660
- Timestamp:
- 06/30/08 20:46:39 (20 months ago)
- Files:
-
- 1 modified
-
branches/release-41/lib/MT/Upgrade.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-41/lib/MT/Upgrade.pm
r2637 r2660 1011 1011 next TYPE if !$class->has_meta(); # nothing to upgrade 1012 1012 1013 # TODO: what is this supposed to mean? 1013 1014 my $t = $type; 1014 1015 my $class_type = $class->properties->{class_type}; … … 1021 1022 # If there's no appropriate superclass, go to update with the class 1022 1023 # we have, not the class we want. 1024 # TODO: if we're checking against the registry type without modifying it, why are we looking for a better object class first? 1023 1025 next TYPE if $added_step{$type}; # already got that one 1024 1026 } … … 1027 1029 } 1028 1030 1031 # TODO: why is this no longer the representative type for a table? that makes us upgrade tables multiple times 1029 1032 my %step_param = ( type => $t ); 1033 # TODO: can't we just make this a different upgrade step? 1030 1034 $step_param{plugindata} = 1 1031 1035 if ( $class eq 'MT::Category' ) || ( $class eq 'MT::Folder' ); … … 1125 1129 my $stmt = $dbd->sql_class->new; 1126 1130 1127 # assumes 'meta' is the meta column name; should be for all core types1128 # we are processing1129 1131 my $meta_col = $param{meta_column} || 'meta'; 1130 1132
