Browse Source

Ajout commentaires + indentation controllers common

dev
Guillaume Bourgeois 6 years ago
parent
commit
eebf380f3c
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      common/controllers/CommonController.php

+ 4
- 2
common/controllers/CommonController.php View File



use yii; use yii;


class CommonController extends \yii\web\Controller {
class CommonController extends \yii\web\Controller
{


public function beforeAction($event) {
public function beforeAction($event)
{
if (!Yii::$app->user->isGuest) { if (!Yii::$app->user->isGuest) {
Yii::$app->user->identity->updateDerniereConnexion(); Yii::$app->user->identity->updateDerniereConnexion();
} }

Loading…
Cancel
Save