Skip to content

Commit

Permalink
Make EnableArchivePaths a candidate for deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
KazumasaOkanuma committed Apr 2, 2024
1 parent 9811a48 commit c0cf96d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MT/Core.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1812,7 +1812,7 @@ BEGIN {
path => 1,
type => 'ARRAY',
},
'EnableArchivePaths' => { default => 0, },
'EnableArchivePaths' => { default => 0, }, ## DEPRECATED
'SearchTemplatePath' => {
default => 'search_templates',
path => 1,
Expand Down
1 change: 1 addition & 0 deletions lib/MT/Upgrade/v3.pm
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ sub core_create_config_table {

sub core_set_enable_archive_paths {
my $self = shift;
MT::Util::Deprecated::warning(since => '8.3.0');
MT->config->EnableArchivePaths( 1, 1 );
return 1;
}
Expand Down

0 comments on commit c0cf96d

Please sign in to comment.