aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_strings.c')
-rw-r--r--funcs/func_strings.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/funcs/func_strings.c b/funcs/func_strings.c
index e9abe50c2..9f911dd71 100644
--- a/funcs/func_strings.c
+++ b/funcs/func_strings.c
@@ -421,12 +421,6 @@ static int acf_strftime(struct ast_channel *chan, char *cmd, char *parse,
buf[0] = '\0';
- if (ast_strlen_zero(parse)) {
- ast_log(LOG_ERROR,
- "Asterisk function STRFTIME() requires an argument.\n");
- return -1;
- }
-
AST_STANDARD_APP_ARGS(args, parse);
ast_get_time_t(args.epoch, &epochi, time(NULL), NULL);