Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 44478d8

Browse files
committed
Remove unused code
1 parent 0f86767 commit 44478d8

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/JsonLoginBundle/Controller/TestController.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,13 @@
1111

1212
namespace Symfony\Bundle\SecurityBundle\Tests\Functional\Bundle\JsonLoginBundle\Controller;
1313

14-
use Symfony\Component\HttpFoundation\JsonResponse;
15-
1614
/**
1715
* @author Kévin Dunglas <[email protected]>
1816
*/
1917
class TestController
2018
{
21-
public function loginAction()
19+
public function loginCheckAction()
2220
{
2321
throw new \RuntimeException('loginAction() should never be called.');
2422
}
25-
26-
public function helloAction()
27-
{
28-
return new JsonResponse('hello');
29-
}
3023
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
login_check:
22
path: /login_check
3-
defaults: { _controller: JsonLoginBundle:Test:login }
4-
5-
foo:
6-
path: /foo
7-
defaults: { _controller: JsonLoginBundle:Test:hello }
3+
defaults: { _controller: JsonLoginBundle:Test:loginCheck }

0 commit comments

Comments
 (0)