temporary remove mms option

This commit is contained in:
osaajani 2019-12-04 05:08:46 +01:00
parent fb10b9cdfd
commit 0edcaf3f69
2 changed files with 7 additions and 3 deletions

View File

@ -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); $success = $this->internal_scheduled->update_for_user($id_user, $id_scheduled, $at, $text, $origin, $flash, $numbers, $contacts, $groups, $conditional_groups);
//Check for media //Check for media
/*
$current_media = $scheduled['current_media'] ?? false; $current_media = $scheduled['current_media'] ?? false;
if (!$current_media) if (!$current_media)
{ {
@ -405,11 +406,12 @@ namespace controllers\publics;
{ {
continue; continue;
} }
*/
$nb_update += 1; $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.'); \FlashMessage\FlashMessage::push('danger', 'Certains SMS n\'ont pas été mis à jour.');
return $this->redirect(\descartes\Router::url('Scheduled', 'list')); return $this->redirect(\descartes\Router::url('Scheduled', 'list'));

View File

@ -53,7 +53,8 @@
</div> </div>
</form> </form>
</div> </div>
</div> </div>
<!--
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h4 class="panel-title"><i class="fa fa-picture-o fa-fw"></i> Support des MMS</h4> <h4 class="panel-title"><i class="fa fa-picture-o fa-fw"></i> Support des MMS</h4>
@ -72,7 +73,8 @@
</div> </div>
</form> </form>
</div> </div>
</div> </div>
-->
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h4 class="panel-title"><i class="fa fa-link fa-fw"></i> Détection des URL dans les discussions</h4> <h4 class="panel-title"><i class="fa fa-link fa-fw"></i> Détection des URL dans les discussions</h4>