[asterisk-commits] mmichelson: branch mmichelson/queue-reset r167165 - /team/mmichelson/queue-re...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jan 4 14:01:55 CST 2009


Author: mmichelson
Date: Sun Jan  4 14:01:55 2009
New Revision: 167165

URL: http://svn.digium.com/view/asterisk?view=rev&rev=167165
Log:
Remove the QueueMemberReload manager command since this can
be accomplished with the QueueReload manager command


Modified:
    team/mmichelson/queue-reset/apps/app_queue.c

Modified: team/mmichelson/queue-reset/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/team/mmichelson/queue-reset/apps/app_queue.c?view=diff&rev=167165&r1=167164&r2=167165
==============================================================================
--- team/mmichelson/queue-reset/apps/app_queue.c (original)
+++ team/mmichelson/queue-reset/apps/app_queue.c Sun Jan  4 14:01:55 2009
@@ -6360,18 +6360,6 @@
 	return 0;
 }
 
-static int manager_queue_member_reload(struct mansession *s, const struct message *m)
-{
-	const char *queuename = NULL;
-	struct ast_flags mask = {0,};
-
-	queuename = astman_get_header(m, "Queue");
-	ast_set_flag(&mask, QUEUE_RELOAD_MEMBER);
-
-	reload_handler(1, &mask, queuename);
-	return 0;
-}
-
 static char *complete_queue_add_member(const char *line, const char *word, int pos, int state)
 {
 	/* 0 - queue; 1 - add; 2 - member; 3 - <interface>; 4 - to; 5 - <queue>; 6 - penalty; 7 - <penalty>; 8 - as; 9 - <membername> */
@@ -6987,7 +6975,6 @@
 	res |= ast_manager_register("QueueRule", 0, manager_queue_rule_show, "Queue Rules");
 	res |= ast_manager_register("QueueReload", 0, manager_queue_reload, "Reload a queue, queues, or any sub-section of a queue or queues");
 	res |= ast_manager_register("QueueReset", 0, manager_queue_reset, "Reset queue statistics");
-	res |= ast_manager_register("QueueMemberReload", 0, manager_queue_member_reload, "Reload queue members");
 	res |= ast_custom_function_register(&queuevar_function);
 	res |= ast_custom_function_register(&queuemembercount_function);
 	res |= ast_custom_function_register(&queuemembercount_dep);




More information about the asterisk-commits mailing list