Skip to content

Commit

Permalink
remove unsued function
Browse files Browse the repository at this point in the history
  • Loading branch information
wenjiefan committed Dec 5, 2024
1 parent 77e7557 commit 8410a9c
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,18 +257,6 @@ codeunit 7774 "Copilot Capability Impl"
IsAdmin := AzureADGraphUser.IsUserDelegatedAdmin() or AzureADPlan.IsPlanAssignedToUser(PlanIds.GetGlobalAdminPlanId()) or AzureADPlan.IsPlanAssignedToUser(PlanIds.GetBCAdminPlanId()) or AzureADPlan.IsPlanAssignedToUser(PlanIds.GetD365AdminPlanId()) or AzureADGraphUser.IsUserDelegatedHelpdesk() or UserPermissions.IsSuper(UserSecurityId());
end;

#if not CLEAN26
[TryFunction]
[Obsolete('Use the procedure CheckGeoAndEUDB', '26.0')]
procedure CheckGeo(var WithinGeo: Boolean; var WithinEuropeGeo: Boolean)
var
ALCopilotFunctions: DotNet ALCopilotFunctions;
begin
WithinGeo := ALCopilotFunctions.IsWithinGeo();
WithinEuropeGeo := ALCopilotFunctions.IsEuropeGeo();
end;
#endif

[TryFunction]
procedure CheckGeoAndEUDB(var WithinGeo: Boolean; var WithinEUDB: Boolean)
var
Expand Down

0 comments on commit 8410a9c

Please sign in to comment.