Remove unused libs

pull/3890/head
Julio Montoya 4 years ago
parent cb098d853d
commit 08e6ee5833
  1. 10
      composer.json
  2. 2
      config/packages/knp_menu.yaml
  3. 3
      public/main/inc/lib/template.lib.php

@ -54,7 +54,7 @@
"ext-zlib": "*",
"a2lix/translation-form-bundle": "^3.0",
"api-platform/api-pack": "^1.3",
"api-platform/core": "^2.6",
"api-platform/core": "2.6.x-dev",
"beberlei/doctrineextensions": "^1.3",
"chamilo/settings-bundle": "dev-master",
"clue/graph": "^0.9.2",
@ -64,7 +64,7 @@
"doctrine/doctrine-bundle": "~2.0",
"doctrine/doctrine-fixtures-bundle": "^3.0",
"doctrine/doctrine-migrations-bundle": "~3.0",
"doctrine/orm": "~2.8",
"doctrine/orm": "~2.9",
"endroid/qr-code": "~3.7",
"essence/essence": "~3.0",
"ezyang/htmlpurifier": "~4.13",
@ -73,15 +73,13 @@
"graphp/graphviz": "~0.2",
"jbroadway/urlify": "~1.1",
"jeroendesloovere/vcard": "~1.7",
"jimmiw/php-time-ago": "~3.0",
"jimmiw/php-time-ago": "~3.2",
"kigkonsult/icalcreator": "~2.29",
"knplabs/doctrine-behaviors": "~2.0",
"knplabs/gaufrette": "~0.9",
"knplabs/knp-components": "~3.0",
"knplabs/knp-menu-bundle": "~3.0",
"knpuniversity/oauth2-client-bundle": "~2.0",
"laminas/laminas-config": "~3.2",
"laminas/laminas-feed": "~2.10",
"laminas/laminas-feed": "~2.14",
"laminas/laminas-filter": "~2.9",
"laminas/laminas-permissions-acl": "~2.8",
"league/csv": "^9.1",

@ -1,2 +0,0 @@
knp_menu:
default_renderer: twig

@ -6,6 +6,7 @@ use Chamilo\CoreBundle\Component\Utils\ChamiloApi;
use Chamilo\CoreBundle\Entity\SessionRelCourseRelUser;
use Chamilo\CoreBundle\Entity\User;
use Chamilo\CoreBundle\Framework\Container;
use Symfony\Component\Filesystem\Exception\FileNotFoundException;
use Symfony\Component\HttpFoundation\Response;
/**
@ -186,7 +187,7 @@ class Template
$this->loadLegacyParams();
if (!file_exists($templateFile)) {
$e = new \Gaufrette\Exception\FileNotFound($templateFile);
$e = new FileNotFoundException($templateFile);
echo $e->getMessage();
exit;
}

Loading…
Cancel
Save