ソースを参照

Update User\Model for log

Visman 4 年 前
コミット
b3be3c0745
1 ファイル変更5 行追加0 行削除
  1. 5 0
      app/Models/User/Model.php

+ 5 - 0
app/Models/User/Model.php

@@ -385,4 +385,9 @@ class Model extends DataModel
     {
         return '1' == $this->c->config->b_poll_enabled && ! $this->isGuest;
     }
+
+    public function fLog(): string
+    {
+        return "id:{$this->id} gid:{$this->group_id} name:{$this->username}";
+    }
 }