- Добавлено Ислключение метода settimeoflogs

parent 883279ee
......@@ -26,7 +26,7 @@ class TriggerLogs extends \yii\db\ActiveRecord
public static function logAction()
{
if (!Yii::$app->user->isGuest/*&& !Yii::$app->request->isAjax*/) {
if (!Yii::$app->user->isGuest && Yii::$app->controller->action->id!='settimeoflogs'/*&& !Yii::$app->request->isAjax*/) {
$action = self::USER_VISITED;
if (Yii::$app->controller->action->id=='registration')
$action = self::USER_REGISTRATION;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment