This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

chris10207
chris10207

Lets say the user belong to roles. When i add a role, i would need to update something else in my plugin, same when i remove a role from a user from the backend, i would need to perform seme updates.

How do we do that already ?

eckelcn
chris10207
chris10207

in the end i used the builtin model event

  public function beforeDelete() {}

Last updated

dragontree
dragontree

+1 as the parend model before and after functions are not called when just adding or removing relationships without deferred bindings

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.