Commit e843380b95c7059ac3b5e29a4ce0015c659b68b0
1 parent
65ddfde4
09.02.16
Showing
2 changed files
with
0 additions
and
3 deletions
Show diff stats
common/config/main.php
common/models/UserInfo.php
@@ -79,8 +79,6 @@ class UserInfo extends \yii\db\ActiveRecord | @@ -79,8 +79,6 @@ class UserInfo extends \yii\db\ActiveRecord | ||
79 | 79 | ||
80 | 80 | ||
81 | public function getLastVisit(){ | 81 | public function getLastVisit(){ |
82 | - print date('Y-m-d h:m:s'); | ||
83 | - die(); | ||
84 | return \Yii::$app->formatter->asRelativeTime(date('Y-m-d h:m:s',strtotime($this->date_visit))); | 82 | return \Yii::$app->formatter->asRelativeTime(date('Y-m-d h:m:s',strtotime($this->date_visit))); |
85 | } | 83 | } |
86 | 84 |