mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-06 14:46:27 +02:00
temporary remove mms option
This commit is contained in:
parent
fb10b9cdfd
commit
0edcaf3f69
2 changed files with 7 additions and 3 deletions
|
@ -387,6 +387,7 @@ namespace controllers\publics;
|
|||
$success = $this->internal_scheduled->update_for_user($id_user, $id_scheduled, $at, $text, $origin, $flash, $numbers, $contacts, $groups, $conditional_groups);
|
||||
|
||||
//Check for media
|
||||
/*
|
||||
$current_media = $scheduled['current_media'] ?? false;
|
||||
if (!$current_media)
|
||||
{
|
||||
|
@ -405,11 +406,12 @@ namespace controllers\publics;
|
|||
{
|
||||
continue;
|
||||
}
|
||||
*/
|
||||
|
||||
$nb_update += 1;
|
||||
}
|
||||
|
||||
if (!$nb_update != count($scheduleds))
|
||||
if ($nb_update != count($scheduleds))
|
||||
{
|
||||
\FlashMessage\FlashMessage::push('danger', 'Certains SMS n\'ont pas été mis à jour.');
|
||||
return $this->redirect(\descartes\Router::url('Scheduled', 'list'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue