Minor - Flint fixes

pull/3159/head
Julio Montoya 6 years ago
parent 1a134d98dd
commit 6235fc9363
  1. 6
      main/inc/lib/tracking.lib.php
  2. 2
      main/install/configuration.dist.php
  3. 2
      plugin/migrationmoodle/admin.php
  4. 2
      plugin/migrationmoodle/src/Loader/CourseCategoriesLoader.php
  5. 2
      plugin/migrationmoodle/src/Loader/CoursesLoader.php
  6. 2
      plugin/migrationmoodle/src/Loader/UsersLoader.php

@ -1650,9 +1650,9 @@ class Tracking
* Calculates the time spent on the platform by a user.
*
* @param int|array $userId
* @param string $timeFilter type of time filter: 'last_week' or 'custom'
* @param string $start_date start date date('Y-m-d H:i:s')
* @param string $end_date end date date('Y-m-d H:i:s')
* @param string $timeFilter type of time filter: 'last_week' or 'custom'
* @param string $start_date start date date('Y-m-d H:i:s')
* @param string $end_date end date date('Y-m-d H:i:s')
* @param bool $returnAllRecords
*
* @return int

@ -1434,7 +1434,7 @@ ALTER TABLE notification_event ADD COLUMN event_id INT NULL;
'info_url' => 'course_description_popup', // course description popup page
'title_url' => 'course_home', // Course home URL
'image_url' => 'course_about', // Course about URL
]
],
'redirect_after_subscription' => 'course_home', // or 'course_catalog' to stay in the page
];*/

@ -175,7 +175,6 @@ echo '</div>';
Display::display_footer();
/**
* @param array $menu
* @param string $parent
* @param string $type
*
@ -227,7 +226,6 @@ function displayMenu(array $menu, $type = 'Task', $parent = '_')
/**
* @param string $action
* @param array $menu
*
* @return bool
*/

@ -15,8 +15,6 @@ class CourseCategoriesLoader implements LoaderInterface
/**
* Load the data and return the ID inserted.
*
* @param array $incomingData
*
* @throws \Exception
*
* @return int

@ -21,8 +21,6 @@ class CoursesLoader implements LoaderInterface
private $loadMode = self::LOAD_MODE_DUPLICATE;
/**
* @param array $incomingData
*
* @return int
*/
public function load(array $incomingData)

@ -24,8 +24,6 @@ class UsersLoader implements LoaderInterface
private $loadMode = self::LOAD_MODE_DUPLICATE;
/**
* @param array $incomingData
*
* @throws \Exception
*
* @return int

Loading…
Cancel
Save