Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ namespace System.Email;

using System.DataAdministration;
using System.Upgrade;
using System.Environment.Configuration;
using System.Reflection;

#pragma warning disable AA0235
Expand Down Expand Up @@ -62,10 +61,4 @@ codeunit 1596 "Email Installer"
begin
AddRetentionPolicyAllowedTables(true);
end;

[EventSubscriber(ObjectType::Codeunit, Codeunit::"System Initialization", OnAfterLogin, '', false, false)]
local procedure AddAllowedTablesOnAfterSystemInitialization()
begin
AddRetentionPolicyAllowedTables();
end;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

namespace System.Tooling;

using System.Environment.Configuration;
using System.DataAdministration;
using System.PerformanceProfile;
using System.Upgrade;
Expand Down Expand Up @@ -56,10 +55,4 @@ codeunit 1933 "Performance Profiler Installer"
begin
AddRetentionPolicyAllowedTables(true);
end;

[EventSubscriber(ObjectType::Codeunit, Codeunit::"System Initialization", OnAfterLogin, '', false, false)]
local procedure AddAllowedTablesOnAfterSystemInitialization()
begin
AddRetentionPolicyAllowedTables(false);
end;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

namespace System.DataAdministration;

using System.Environment.Configuration;
using System.Upgrade;
using System.Environment;

Expand Down Expand Up @@ -108,10 +107,4 @@ codeunit 3907 "Retention Policy Installer"
begin
AddAllowedTables(true);
end;

[EventSubscriber(ObjectType::Codeunit, Codeunit::"System Initialization", OnAfterLogin, '', false, false)]
local procedure AddAllowedTablesOnAfterLogin()
begin
AddAllowedTables();
end;
}
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ page 3903 "Retention Policy Setup List"
trigger OnOpenPage()
var
FeatureTelemetry: Codeunit "Feature Telemetry";
RetenPolAllowedTables: Codeunit "Reten. Pol. Allowed Tables";
begin
FeatureTelemetry.LogUptake('0000FW0', 'Retention policies', Enum::"Feature Uptake Status"::Discovered);
RetenPolAllowedTables.OnRefreshAllowedTables();
end;
}
Loading