Skip to content

Commit

Permalink
delete code before load in sc.all.sub for importUpdated
Browse files Browse the repository at this point in the history
  • Loading branch information
doublefint committed Nov 24, 2016
1 parent 0aadefb commit 45a3cd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sc.all.sub.cls
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ ClassMethod importUpdated(qspec = "cku-d", ByRef err = "", recurse = 1, ByRef lo

} else {

#; drop existing code before import ( purge DateModified )
s:codets'="" sc = ##class(%RoutineMgr).Delete( codename )
s sc = $system.OBJ.Load( filename, qspec, .err, .loaded)

}
Expand Down

0 comments on commit 45a3cd7

Please sign in to comment.