[svn-commits] mvanbaak: trunk r129581 - /trunk/main/features.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jul 10 11:21:16 CDT 2008


Author: mvanbaak
Date: Thu Jul 10 11:21:16 2008
New Revision: 129581

URL: http://svn.digium.com/view/asterisk?view=rev&rev=129581
Log:
Remove deprecated 'show parkedcalls' CLI command

(closes issue #13038)
Reported by: eliel
Patches:
      finish.deprecate.patch uploaded by eliel (license 64)


Modified:
    trunk/main/features.c

Modified: trunk/main/features.c
URL: http://svn.digium.com/view/asterisk/trunk/main/features.c?view=diff&rev=129581&r1=129580&r2=129581
==============================================================================
--- trunk/main/features.c (original)
+++ trunk/main/features.c Thu Jul 10 11:21:16 2008
@@ -3547,20 +3547,10 @@
 	return CLI_SUCCESS;
 }
 
-static char *handle_parkedcalls_deprecated(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
-{
-	char *res = handle_parkedcalls(e, cmd, a);
-	if (cmd == CLI_INIT)
-		e->command = "show parkedcalls";
-	return res;
-}
-
-static struct ast_cli_entry cli_show_parkedcalls_deprecated = AST_CLI_DEFINE(handle_parkedcalls_deprecated, "List currently parked calls.");
-
 static struct ast_cli_entry cli_features[] = {
 	AST_CLI_DEFINE(handle_feature_show, "Lists configured features"),
 	AST_CLI_DEFINE(handle_features_reload, "Reloads configured features"),
-	AST_CLI_DEFINE(handle_parkedcalls, "List currently parked calls", .deprecate_cmd = &cli_show_parkedcalls_deprecated),
+	AST_CLI_DEFINE(handle_parkedcalls, "List currently parked calls"),
 };
 
 /*! 




More information about the svn-commits mailing list