]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
We only need to unregister the QueueStatus manager
authorMark Michelson <mmichelson@digium.com>
Wed, 6 Aug 2008 20:42:15 +0000 (20:42 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 6 Aug 2008 20:42:15 +0000 (20:42 +0000)
command once on an unload

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@136238 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index ba9faeb753e32dee8e8a469ed6284eed7461d75f..33283f22422f0526ab247d5af1596112ac9ac581 100644 (file)
@@ -5045,7 +5045,6 @@ static int unload_module(void)
        ast_cli_unregister_multiple(cli_queue, sizeof(cli_queue) / sizeof(struct ast_cli_entry));
        res = ast_manager_unregister("QueueStatus");
        res |= ast_manager_unregister("Queues");
-       res |= ast_manager_unregister("QueueStatus");
        res |= ast_manager_unregister("QueueAdd");
        res |= ast_manager_unregister("QueueRemove");
        res |= ast_manager_unregister("QueuePause");