Changeset 1897 for branches/release-35/lib/MT/Upgrade.pm
- Timestamp:
- 04/14/08 22:19:20 (20 months ago)
- Files:
-
- 1 modified
-
branches/release-35/lib/MT/Upgrade.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-35/lib/MT/Upgrade.pm
r1873 r1897 861 861 }, 862 862 sql => 'update mt_objectasset set objectasset_embedded=1', 863 }, 864 }, 865 'core_enable_address_book' => { 866 version_limit => 4.0054, 867 priority => 3.2, 868 code => sub { 869 require MT::Notification; 870 if (MT::Notification->exist()) { 871 my $cfg = MT->config; 872 if (! $cfg->EnableAddressBook) { 873 $cfg->EnableAddressBook(1, 1); 874 $cfg->save; 875 } 876 } 877 return 0; 863 878 }, 864 879 },
