[asterisk-commits] trunk r29164 - /trunk/apps/app_meetme.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun May 21 07:06:38 MST 2006
Author: russell
Date: Sun May 21 09:06:37 2006
New Revision: 29164
URL: http://svn.digium.com/view/asterisk?rev=29164&view=rev
Log:
remove a CLI command that has been marked deprecated since before Asterisk 1.0
Modified:
trunk/apps/app_meetme.c
Modified: trunk/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_meetme.c?rev=29164&r1=29163&r2=29164&view=diff
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Sun May 21 09:06:37 2006
@@ -541,20 +541,6 @@
return cnf;
}
-static int confs_show(int fd, int argc, char **argv)
-{
- ast_cli(fd, "Deprecated! Please use 'meetme' instead.\n");
-
- return RESULT_SUCCESS;
-}
-
-static char show_confs_usage[] =
-"Deprecated! Please use 'meetme' instead.\n";
-
-static struct ast_cli_entry cli_show_confs = {
- { "show", "conferences", NULL }, confs_show,
- "Show status of conferences", show_confs_usage, NULL };
-
static int conf_cmd(int fd, int argc, char **argv) {
/* Process the command */
struct ast_conference *cnf;
@@ -2392,8 +2378,7 @@
{
int res;
- res = ast_cli_unregister(&cli_show_confs);
- res |= ast_cli_unregister(&cli_conf);
+ res = ast_cli_unregister(&cli_conf);
res |= ast_unregister_application(app3);
res |= ast_unregister_application(app2);
res |= ast_unregister_application(app);
@@ -2409,8 +2394,7 @@
load_config();
- res = ast_cli_register(&cli_show_confs);
- res |= ast_cli_register(&cli_conf);
+ res = ast_cli_register(&cli_conf);
res |= ast_register_application(app3, admin_exec, synopsis3, descrip3);
res |= ast_register_application(app2, count_exec, synopsis2, descrip2);
res |= ast_register_application(app, conf_exec, synopsis, descrip);
More information about the asterisk-commits
mailing list