update Do 18. Jun 11:01:01 CEST 2020
This commit is contained in:
parent
6473635634
commit
065d9536bd
@ -433,7 +433,7 @@ module.exports = function (io, sql, fs, brk, async, app_cfg) {
|
|||||||
// Socket-ID aus Datei-Namen extrahieren
|
// Socket-ID aus Datei-Namen extrahieren
|
||||||
socket_name = file.substring(0, file.length - 4);
|
socket_name = file.substring(0, file.length - 4);
|
||||||
// Socket-ID anpassen, damit die SQL-Abfrage ein Ergebnis liefert
|
// Socket-ID anpassen, damit die SQL-Abfrage ein Ergebnis liefert
|
||||||
socket_name.replace('waip', '/waip#');
|
socket_name = socket_name.replace('waip', '/waip#');
|
||||||
sql.db_socket_get_by_id(socket_name, function (data) {
|
sql.db_socket_get_by_id(socket_name, function (data) {
|
||||||
if (!data) {
|
if (!data) {
|
||||||
fs.unlink(process.cwd() + app_cfg.global.soundpath + file, function (err) {
|
fs.unlink(process.cwd() + app_cfg.global.soundpath + file, function (err) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user