Minor - flint fixes

pull/3006/head
Julio Montoya 6 years ago
parent 68af9cd421
commit 0adf57ed50
  1. 1
      main/document/document_quota.php
  2. 1
      main/document/upload.php
  3. 1
      main/inc/lib/CoursesAndSessionsCatalog.class.php
  4. 1
      main/inc/lib/document.lib.php
  5. 1
      src/CoreBundle/Block/BreadcrumbBlockService.php
  6. 1
      src/CoreBundle/EventListener/LocaleListener.php
  7. 3
      src/CourseBundle/EventListener/CourseListener.php

@ -6,7 +6,6 @@
*
* @package chamilo.document
*/
use Chamilo\CoreBundle\Framework\Container;
require_once __DIR__.'/../inc/global.inc.php';

@ -4,7 +4,6 @@
/**
* @package chamilo.document
*/
use Chamilo\CoreBundle\Framework\Container;
require_once __DIR__.'/../inc/global.inc.php';

@ -580,7 +580,6 @@ class CoursesAndSessionsCatalog
s.nbrCourses > 0
";
if (!is_null($date)) {
$date = Database::escape_string($date);
$dql .= "

@ -3081,7 +3081,6 @@ class DocumentManager
* @param int $max_dir_space maximum size
*
* @return bool true if there is enough space, false otherwise
*
*/
public static function enough_space($file_size, $max_dir_space)
{

@ -10,7 +10,6 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
/**
* Class BreadcrumbBlockService.
*
*/
class BreadcrumbBlockService extends BaseBreadcrumbMenuBlockService
{

@ -15,7 +15,6 @@ use Symfony\Component\HttpKernel\KernelEvents;
* Class LocaleListener
* Checks the portal listener depending of different settings:
* platform, user, course.
*
*/
class LocaleListener implements EventSubscriberInterface
{

@ -15,9 +15,6 @@ use Symfony\Component\DependencyInjection\ContainerAwareTrait;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Event\ControllerEvent;
use Symfony\Component\HttpKernel\Event\FilterControllerEvent;
use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
use Symfony\Component\HttpKernel\Event\RequestEvent;
use Symfony\Component\HttpKernel\Event\ResponseEvent;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;

Loading…
Cancel
Save