Remove spurious event raised when CDRs are reloaded
authorMatthew Jordan <mjordan@digium.com>
Mon, 30 Sep 2013 19:53:50 +0000 (19:53 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 30 Sep 2013 19:53:50 +0000 (19:53 +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.
........

Merged revisions 400194 from http://svn.asterisk.org/svn/asterisk/branches/12

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

main/cdr.c

index ea0f9c0..02c2710 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;
 }