Changeset 2849
- Timestamp:
- 07/28/08 21:59:25 (4 months ago)
- Files:
-
- branches/feature-revision-histories/lib/MT/Entry.pm (modified) (1 diff)
- branches/feature-revision-histories/lib/MT/Object.pm (modified) (1 diff)
- branches/feature-revision-histories/lib/MT/Upgrade.pm (modified) (1 diff)
- branches/feature-revision-histories/lib/MT/Versioned.pm (moved) (moved from branches/feature-revision-histories/lib/MT/Revisable.pm) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/feature-revision-histories/lib/MT/Entry.pm
r2847 r2849 10 10 11 11 use MT::Tag; # Holds MT::Taggable 12 use base qw( MT::Object MT::Taggable MT::Scorable MT:: Revisable);12 use base qw( MT::Object MT::Taggable MT::Scorable MT::Versioned ); 13 13 14 14 use MT::Blog; branches/feature-revision-histories/lib/MT/Object.pm
r2790 r2849 238 238 239 239 # Because of the inheritance of MT::Entry by MT::Page, we need to do this here 240 if($class->isa('MT:: Revisable')) {240 if($class->isa('MT::Versioned')) { 241 241 $class->install_revisioning(); 242 242 } branches/feature-revision-histories/lib/MT/Upgrade.pm
r2789 r2849 1749 1749 1750 1750 # handle schema updates for revision table 1751 if ($class->isa('MT:: Revisable')) {1751 if ($class->isa('MT::Versioned')) { 1752 1752 $self->check_type($type . ':revision'); 1753 1753 } branches/feature-revision-histories/lib/MT/Versioned.pm
r2848 r2849 7 7 # An interface for any MT::Object that wishes to utilize versioning 8 8 9 package MT:: Revisable;9 package MT::Versioned; 10 10 11 11 use strict;
