File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -254,11 +254,9 @@ InternalName'="" && ##class(Utils).IsInSourceControl(##class(Utils).NormalizeInt
254
254
Method OnBeforeDelete (InternalName As %String ) As %Status
255
255
{
256
256
if ..IsReadOnly (InternalName ) {
257
- set ^mtempVG (" dbg" ,$i (^mtempVG )) = " readonly"
258
257
// throw error if deleting readonly item
259
258
Throw ##class (%Exception.General ).%New (" Can't delete in locked environment" )
260
259
} else {
261
- set ^mtempVG (" dbg" ,$i (^mtempVG )) = " not readonly"
262
260
set context = ##class (SourceControl.Git.PackageManagerContext ).ForInternalName (InternalName )
263
261
set InternalName = ##class (Utils ).NormalizeInternalName (InternalName )
264
262
set Filename = ##class (Utils ).FullExternalName (InternalName )
@@ -267,7 +265,6 @@ Method OnBeforeDelete(InternalName As %String) As %Status
267
265
}
268
266
quit $$$OK
269
267
}
270
- set ^mtempVG (" dbg" ,$i (^mtempVG )) = " outside, after if readonly"
271
268
}
272
269
273
270
/// Called after an item is deleted.
You can’t perform that action at this time.
0 commit comments