Minor - flint fixes

pull/3350/head
Julio Montoya 5 years ago
parent 27c6db720c
commit a05ca57272
  1. 3
      main/group/group_overview.php
  2. 2
      src/Chamilo/UserBundle/Entity/User.php

@ -105,7 +105,6 @@ if (isset($_GET['action'])) {
}
}
/* Header */
$interbreadcrumb[] = ['url' => 'group.php?'.api_get_cidreq(), 'name' => get_lang('Groups')];
$origin = api_get_origin();
if ('learnpath' != $origin) {
@ -155,6 +154,6 @@ Display::return_icon('user.png', get_lang('GoTo').' '.get_lang('Users'), '', ICO
echo Display::toolbarAction('actions', [$actions, GroupManager::getSearchForm()]);
echo GroupManager::getOverview($courseId, $keyword);
if ('learnpath' != $origin) {
if ('learnpath' !== $origin) {
Display::display_footer();
}

@ -1435,8 +1435,6 @@ class User implements UserInterface //implements ParticipantInterface, ThemeUser
/**
* Set lastLogin.
*
* @param \DateTime|null $lastLogin
*
* @return User
*/
public function setLastLogin(\DateTime $lastLogin = null)

Loading…
Cancel
Save