Jump to content

AdminEmployeesController's afterUpdate raised before other operations


logan1987

Recommended Posts

Hi everyone,

overriding the AdminEmployeesController i notice that the afterUpdate method occured before prestashop update information into the employee_shop table. if put a die() at the end of the method i can see that data in this table is not updated.

 

1) How can i be sure that all the operations are completed before making my own query and operation?

2) why are there operation that does not complete (not flushed to db, maybe) ?

 

Thanks,

Logan

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
×
×
  • Create New...