mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 00:46:27 +02:00
automatically add medias as link if phone does not support mms
This commit is contained in:
parent
4cd52ae9ec
commit
878d820dc2
7 changed files with 20 additions and 39 deletions
|
@ -167,8 +167,6 @@ namespace adapters;
|
|||
|
||||
$uid = uniqid();
|
||||
|
||||
$medias = [];
|
||||
|
||||
$at = (new \DateTime())->format('Y-m-d H:i:s');
|
||||
$success = file_put_contents($this->test_file_write, json_encode(['uid' => $uid, 'at' => $at, 'destination' => $destination, 'text' => $text, 'flash' => $flash, 'mms' => $mms, 'medias' => $medias]) . "\n", FILE_APPEND);
|
||||
if (false === $success)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue