Reply to thread

In _postDelete of the entity, you are doing:

[php]

/** @var \XF\Repository\UserAlert $alertRepo */

$alertRepo = $this->repository('XF:UserAlert');

$alertRepo->fastDeleteAlertsFromUser($this->BannedBy, 'thread', $this->thread_id, 'reply_ban');

[/php]


It shouldn't be BannedBy but User here.


Clément


Back
Top Bottom