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
|
@ -106,13 +106,6 @@ namespace controllers\publics;
|
|||
|
||||
$id_user = $_SESSION['user']['id'];
|
||||
|
||||
if ($since && !($since = date('Y-m-d H:i:s', $since)))
|
||||
{
|
||||
echo json_encode(['transaction_id' => $transaction_id, 'messages' => [], 'error' => true, 'error_message' => 'Not a valid date.']);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
$sendeds = $this->internal_sended->gets_by_destination_and_user($id_user, $number);
|
||||
$receiveds = $this->internal_received->gets_by_origin_and_user($id_user, $number);
|
||||
$scheduleds = $this->internal_scheduled->gets_before_date_for_number_and_user($id_user, $now, $number);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue