Переглянути джерело

Ajout commentaires + indentation controllers common

prodstable
Guillaume Bourgeois 6 роки тому
джерело
коміт
eebf380f3c
1 змінених файлів з 4 додано та 2 видалено
  1. +4
    -2
      common/controllers/CommonController.php

+ 4
- 2
common/controllers/CommonController.php Переглянути файл

@@ -40,9 +40,11 @@ namespace common\controllers;

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) {
Yii::$app->user->identity->updateDerniereConnexion();
}

Завантаження…
Відмінити
Зберегти