Skip to content

Commit dcaf7c5

Browse files
committed
Remove unused function
1 parent d322122 commit dcaf7c5

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

actions_std.go

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2077,23 +2077,6 @@ func decompContactValue(action *ShortcutAction, key string, contentKit contentKi
20772077
return
20782078
}
20792079

2080-
func adjustDate(operation string, unit string, args []actionArgument) (adjustDateParams map[string]any) {
2081-
if len(args) == 0 {
2082-
return map[string]any{}
2083-
}
2084-
2085-
adjustDateParams = map[string]any{
2086-
"WFAdjustOperation": operation,
2087-
}
2088-
if unit == "" {
2089-
return adjustDateParams
2090-
}
2091-
2092-
adjustDateParams["WFDuration"] = magnitudeValue(unit, args, 1)
2093-
2094-
return
2095-
}
2096-
20972080
func magnitudeValue(unit any, args []actionArgument, index int) map[string]any {
20982081
var magnitudeValue = argumentValue(args, index)
20992082
if reflect.TypeOf(magnitudeValue).String() == "[]map[string]any" {

0 commit comments

Comments
 (0)