mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-23 09:56:34 +02:00
fix gammu adapter to remove number and update adapters to support or not sms reception
This commit is contained in:
parent
2ae2baa6c4
commit
f6e96c1133
5 changed files with 36 additions and 6 deletions
|
@ -173,6 +173,11 @@ class Phone extends AbstractDaemon
|
|||
$internal_received = new \controllers\internals\Received($this->bdd);
|
||||
$internal_setting = new \controllers\internals\Setting($this->bdd);
|
||||
|
||||
if (!$this->adapter->meta_support_read())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
$smss = $this->adapter->read();
|
||||
if (!$smss)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue