remove code that was clearing cache folder on module restart, since multiple modules may be using this

This commit is contained in:
Dave Horton
2024-02-05 08:15:19 -05:00
parent 3edb4a47f2
commit b2c3090a81

View File

@@ -709,6 +709,7 @@ extern "C" {
curl_multi_cleanup(global.multi);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "elevenlabs_speech_unload: completed\n");
/*
if (!fullDirPath.empty()) {
if (removeDirectory(fullDirPath)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "elevenlabs_speech_unload: removed folder %s\n", fullDirPath.c_str());
@@ -717,6 +718,7 @@ extern "C" {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "elevenlabs_speech_unload: failed to remove folder %s\n", fullDirPath.c_str());
}
}
*/
return SWITCH_STATUS_SUCCESS;
}