Jump to content

Roles hooks not working?


adrian
 Share

Recommended Posts

I am convinced I must be tired and that is why I can't get several of them to work, but would someone else mind testing please.

In my testing: 

These work

Roles::deleteReady
Roles::deleted
Roles::saveReady
Roles::saved

but these don't work

Roles::add
Roles::delete
Roles::save
Roles::added

Except for Roles::added, all the ones that work are hooks that work are those derived from the PagesType class, so I thought maybe that was the reason, but this one screws up that idea.

Anyone see the same problem and have any ideas why those other ones don't work?

Thanks!

Link to comment
Share on other sites

I just tested them, those listed under the "DONT WORK" are not working on ProcessWire 3.0.73.

Now why... no idea.

 

Edit: same behavior on ProcessWire 2.8.62

Edited by flydev
pw28
  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...