mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Fix invalid closing of queues from sender, improve cleaning of pid files
This commit is contained in:
parent
6f8c7d62b9
commit
ca9397b62d
5 changed files with 14 additions and 17 deletions
|
@ -53,7 +53,7 @@ namespace controllers\internals;
|
|||
$phone = $internal_phone->get($id_phone);
|
||||
if (!$phone)
|
||||
{
|
||||
return false;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
new \daemons\Phone($phone);
|
||||
|
|
|
@ -328,7 +328,7 @@ namespace controllers\internals;
|
|||
'id_user' => $scheduled['id_user'],
|
||||
'id_scheduled' => $scheduled['id'],
|
||||
'id_phone' => $phone_to_use['id'],
|
||||
'destination' => $number['number'],
|
||||
'destination' => $contact['number'],
|
||||
'flash' => $scheduled['flash'],
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue