mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
fix a few error, undefined vars, update phpstan, fix adapter data preset on edit phone
This commit is contained in:
parent
715afd79ec
commit
47b81c1af3
9 changed files with 34 additions and 64 deletions
|
@ -137,10 +137,10 @@ class Webhook extends StandardController
|
|||
|
||||
$error_code = null;
|
||||
$queue = msg_get_queue(QUEUE_ID_WEBHOOK);
|
||||
$success = msg_send($queue, QUEUE_TYPE_WEBHOOK, $message, true, true, $error_code);
|
||||
|
||||
return (bool) $success;
|
||||
msg_send($queue, QUEUE_TYPE_WEBHOOK, $message, true, true, $error_code);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue