Преглед на файлове

[HttpKernel] removed UnauthorizedHttpException as this should be handled by the Security component

Fabien Potencier преди 14 години
родител
ревизия
23fbd87164
променени са 1 файла, в които са добавени 0 реда и са изтрити 25 реда
  1. 0 25
      src/Symfony/Component/HttpKernel/Exception/UnauthorizedHttpException.php

+ 0 - 25
src/Symfony/Component/HttpKernel/Exception/UnauthorizedHttpException.php

@@ -1,25 +0,0 @@
-<?php
-
-namespace Symfony\Component\HttpKernel\Exception;
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-/**
- * UnauthorizedHttpException.
- *
- * @author Fabien Potencier <fabien.potencier@symfony-project.com>
- */
-class UnauthorizedHttpException extends HttpException
-{
-    public function __construct($message = 'Unauthorized', \Exception $previous = null)
-    {
-        parent::__construct($message, 401, $previous);
-    }
-}