Skip to content

Commit 66a8060

Browse files
committed
Fix: don't call $$CheckProtect for user types
Always returns true for e.g. Ens.Config.DefaultSettings.ESD
1 parent 339f733 commit 66a8060

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cls/SourceControl/Git/Utils.cls

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,7 +1465,7 @@ ClassMethod Name(InternalName As %String, ByRef MappingExists As %Boolean) As %S
14651465
}
14661466
}
14671467

1468-
if $$CheckProtect^%qccServer(InternalName) {
1468+
if '##class(%Library.RoutineMgr).UserType(InternalName) && $$CheckProtect^%qccServer(InternalName) {
14691469
quit ""
14701470
}
14711471

@@ -1881,4 +1881,3 @@ ClassMethod BuildCEInstallationPackage(ByRef destination As %String) As %Status
18811881
}
18821882

18831883
}
1884-

0 commit comments

Comments
 (0)