]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove spurious event raised when CDRs are reloaded
authorMatthew Jordan <mjordan@digium.com>
Mon, 30 Sep 2013 19:44:54 +0000 (19:44 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 30 Sep 2013 19:44:54 +0000 (19:44 +0000)
The Reload event is now raised by the module loading core. As such, the Reload
event in the CDR engine was a duplicate and not needed.

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

main/cdr.c

index ea0f9c0e4b9ed8771c264d376efa857a66264a84..02c27108c2c714ade5419c1484b154c87353daf6 100644 (file)
@@ -3876,9 +3876,6 @@ static int process_config(int reload)
                return 1;
        }
 
-       if (reload) {
-               manager_event(EVENT_FLAG_SYSTEM, "Reload", "Module: CDR\r\nMessage: CDR subsystem reload requested\r\n");
-       }
        return 0;
 }