diff --git a/callback_delete.go b/callback_delete.go index facb853b..3bf5b7b0 100644 --- a/callback_delete.go +++ b/callback_delete.go @@ -10,8 +10,6 @@ func BeforeDelete(scope *Scope) { } func Delete(scope *Scope) { - defer scope.Trace(time.Now()) - if !scope.HasError() { if !scope.Search.Unscope && scope.HasColumn("DeletedAt") { scope.Raw( diff --git a/callback_update.go b/callback_update.go index a3c49372..095bbf48 100644 --- a/callback_update.go +++ b/callback_update.go @@ -41,8 +41,6 @@ func UpdateTimeStampWhenUpdate(scope *Scope) { } func Update(scope *Scope) { - defer scope.Trace(time.Now()) - if !scope.HasError() { var sqls []string