瀏覽代碼

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();
}

Loading…
取消
儲存