Code Duplication    Length = 13-18 lines in 2 locations

app/controllers/IndexController.php 1 location

@@ 3-20 (lines=18) @@
1
<?php
2
3
class IndexController extends ControllerBase
4
{
5
    protected $model;
6
    protected $title;
7
    protected $controller;
8
9
    public function initialize(){
10
        $this->model = "Index";
11
        $this->title = "Accueil";
12
        $this->controller= "Index";
13
    }
14
15
    public function indexAction()
16
    {
17
18
    }
19
20
}
21
22

app/controllers/UsersController.php 1 location

@@ 3-15 (lines=13) @@
1
<?php
2
3
class UsersController extends ControllerBase
4
{
5
    protected $model;
6
    protected $title;
7
    protected $controller;
8
9
    public function initialize(){
10
        $this->model = "User";
11
        $this->title = "Utilisateurs";
12
        $this->controller = "Users";
13
    }
14
15
}
16
17