Skip to content

Commit 8410a9c

Browse files
author
wenjiefan
committed
remove unsued function
1 parent 77e7557 commit 8410a9c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/System Application/App/AI/src/Copilot/CopilotCapabilityImpl.Codeunit.al

-12
Original file line numberDiff line numberDiff line change
@@ -257,18 +257,6 @@ codeunit 7774 "Copilot Capability Impl"
257257
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());
258258
end;
259259

260-
#if not CLEAN26
261-
[TryFunction]
262-
[Obsolete('Use the procedure CheckGeoAndEUDB', '26.0')]
263-
procedure CheckGeo(var WithinGeo: Boolean; var WithinEuropeGeo: Boolean)
264-
var
265-
ALCopilotFunctions: DotNet ALCopilotFunctions;
266-
begin
267-
WithinGeo := ALCopilotFunctions.IsWithinGeo();
268-
WithinEuropeGeo := ALCopilotFunctions.IsEuropeGeo();
269-
end;
270-
#endif
271-
272260
[TryFunction]
273261
procedure CheckGeoAndEUDB(var WithinGeo: Boolean; var WithinEUDB: Boolean)
274262
var

0 commit comments

Comments
 (0)