Internal: Fix code syntax/style issues #flint

pull/4161/head
Yannick Warnier 4 years ago
parent 22c2f64332
commit 2bb43a24ad
  1. 3
      public/main/inc/ajax/user_manager.ajax.php
  2. 1
      public/main/inc/lib/legal.lib.php

@ -4,7 +4,6 @@
use Chamilo\CoreBundle\Entity\User;
use Chamilo\CoreBundle\Framework\Container;
use Doctrine\ORM\Query\Expr\Join;
/**
* Responses to AJAX calls.
@ -275,7 +274,7 @@ switch ($action) {
$urlId = api_get_current_access_url_id();
$roleList = ['ROLE_TEACHER', 'ROLE_ADMIN', 'ROLE_SUPER_ADMIN'];
$users = Container::getUserRepository()->findByRoleList(
$roleList,
$_REQUEST['q'],

@ -381,6 +381,7 @@ class LegalManager
/**
* Send a message to a student with the legal terms link to validate
*
* @param int $userId The user to send legal terms to
* @param int $coachId The user who sends the legal terms
*/

Loading…
Cancel
Save