Changeset 2855
- Timestamp:
- 07/29/08 18:22:49 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/feature-revision-histories/lib/MT/Core.pm
r2852 r2855 457 457 'UseSQLite2' => { default => 0, }, 458 458 'UseJcodeModule' => { default => 0, }, 459 'RevisioningDriver' => { default => 'Local' },460 459 'DefaultTimezone' => { 461 460 default => '0', … … 525 524 'EnableAddressBook' => { default => 0 }, 526 525 'SingleCommunity' => { default => 0 }, 526 527 # Revision History 528 'TrackRevisions' => { default => 1 }, 529 'RevisioningDriver' => { default => 'Local' }, 527 530 }, 528 531 upgrade_functions => \&load_upgrade_fns, branches/feature-revision-histories/lib/MT/Object.pm
r2850 r2855 239 239 # Because of the inheritance of MT::Entry by MT::Page, we need to do this here 240 240 if($class->isa('MT::Revisable')) { 241 $class->in stall_revisioning();241 $class->init_revisioning(); 242 242 } 243 243 branches/feature-revision-histories/lib/MT/Revisable.pm
r2854 r2855 28 28 29 29 sub _handle { 30 return 1 unless MT->config->TrackRevisions; 31 30 32 my $method = ( caller(1) )[3]; 31 33 $method =~ s/.*:://; … … 45 47 my $props = $class->properties; 46 48 my $datasource = $class->datasource; 49 50 return 1 unless MT->config->TrackRevisions; 47 51 48 52 $props->{column_defs}{current_revision} = {
