03c90f0 Ticket 408 - Fix crash when disabling/enabling the setting

Authored and Committed by mreynolds 10 years ago
    Ticket 408 - Fix crash when disabling/enabling the setting
    
    Bug Description:  Enabling/disabling can lead to crash as the setting
                      was not designed to be dynamically updated.
    
    Fix Description:  Do not use the actual config setting to determine if the
                      cache is enabled.  Instead we record when the cache is
                      initialized.  The server still needs to be restarted for
                      the config change to take effect.
    
                      Also freed the cache at server shtudown.
    
    https://fedorahosted.org/389/ticket/408
    
    Reviewed by: rmeggins(Thanks!)
    
        
file modified
+74 -19
file modified
+1 -0