diff options
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/Conf.pm | 9 | ||||
-rw-r--r-- | FS/FS/Upgrade.pm | 7 |
2 files changed, 15 insertions, 1 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 393f068e9..0f774d16c 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -5997,12 +5997,19 @@ and customer address. Include units.', { 'key' => 'agent-disable_counts', - 'section' => 'scalability', + 'section' => 'deprecated', 'description' => 'On the agent browse page, disable the customer and package counts. Typically used for very large installs when this page takes too long to render.', 'type' => 'checkbox', }, { + 'key' => 'config-disable_counts', + 'section' => 'scalability', + 'description' => 'Disable the customer and package counts on the Agents, Packages, and Services pages. Use for very large installs where these pages take too long to render.', + 'type' => 'checkbox', + }, + + { 'key' => 'tollfree-country', 'section' => 'telephony', 'description' => 'Country / region for toll-free recognition', diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index 8850d36a3..c8c0d4471 100644 --- a/FS/FS/Upgrade.pm +++ b/FS/FS/Upgrade.pm @@ -206,6 +206,13 @@ If you need to continue using the old Form 477 report, turn on the FS::upgrade_journal->set_done('deprecate_unmask_ss'); } + # Rename agent-disable_counts as config-disable_counts, flag now + # affects several configuration pages + for my $row ( qsearch( conf => { name => 'agent-disable_counts' } )) { + $row->name('config-disable_counts'); + $row->replace; + } + } sub upgrade_overlimit_groups { |