bizley / yii2-podium

Yii 2 forum module project
Apache License 2.0
168 stars 59 forks source link

Delete inactive user cause error log #117

Open tomaszkane opened 7 years ago

tomaszkane commented 7 years ago

Case:

  1. register user (without activation/confirm)
  2. delete user account
  3. got error log: [error][bizley\podium\models\Activity::deleteUser] [ 'msg' => 'Cannot delete user activity', 'model' => xx, ] by: Activity:102

Why If user activity is empty make error log?

BTW, Podium version 0.7

bizley commented 7 years ago

Not a bug per se but it should be logged only when activity can not be deleted - not when it's empty.

This is done to update information about current forum visitors.