Internal - Format code

pull/3464/head
Julio Montoya 5 years ago
parent 5139a44d61
commit 9b8cb74ab4
  1. 1
      public/main/inc/global.inc.php
  2. 2
      public/main/inc/lib/api.lib.php
  3. 4
      public/main/inc/lib/course.lib.php
  4. 2
      public/main/install/install.lib.php

@ -17,7 +17,6 @@ define('USERNAME_MAX_LENGTH', 100);
require_once __DIR__.'/../../../vendor/autoload.php';
try {
// Get settings from .env.local file created.
$envFile = __DIR__.'/../../../.env.local';
if (file_exists($envFile)) {

@ -6794,7 +6794,7 @@ function api_get_jquery_libraries_js($libraries)
* @param int $groupId The group ID - optional (takes it from context if not given)
*
* @return string The URL to a course, a session, or empty string if nothing works
* e.g. https://localhost/courses/ABC/index.php?session_id=3&gidReq=1
* e.g. https://localhost/courses/ABC/index.php?session_id=3&gidReq=1
*
* @author Julio Montoya <gugli100@gmail.com>
*/

@ -1302,8 +1302,8 @@ class CourseManager
/**
* Is the user a teacher in the given course?
*
* @param int $userId
* @param int $courseId
* @param int $userId
* @param int $courseId
*
* @return bool if the user is a teacher in the course, false otherwise
*/

@ -2852,7 +2852,7 @@ function updateEnvFile($distFile, $envFile, $params)
}
/**
* @param EntityManager $manager
* @param EntityManager $manager
*/
function installGroups($manager)
{

Loading…
Cancel
Save