Skip to content

Commit

Permalink
Merge pull request #2046 from behnampro/develop
Browse files Browse the repository at this point in the history
clean base controller code
  • Loading branch information
lonnieezell authored Aug 13, 2019
2 parents 48ca50b + 1afbabe commit fee814b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/Controllers/BaseController.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?php namespace App\Controllers;
<?php

namespace App\Controllers;

use CodeIgniter\Controller;

/**
* Class BaseController
Expand All @@ -7,14 +11,11 @@
* and performing functions that are needed by all your controllers.
* Extend this class in any new controllers:
* class Home extends BaseController
*
*
* For security be sure to declare any new methods as protected or private.
*
*
* @package CodeIgniter
*/

use CodeIgniter\Controller;

class BaseController extends Controller
{

Expand All @@ -35,7 +36,6 @@ public function initController(\CodeIgniter\HTTP\RequestInterface $request, \Cod
{
// Do Not Edit This Line
parent::initController($request, $response, $logger);

//--------------------------------------------------------------------
// Preload any models, libraries, etc, here.
//--------------------------------------------------------------------
Expand Down

0 comments on commit fee814b

Please sign in to comment.