Added hook_restart_send and hook_restart_receive (each get a data object that
can be added to).
iris.restart has changed to take the an authPass (was a user id previously) and an optional object
(previously a message containing where the restart happened) whose contents are merged with the persistent data when restarting (an example of modules enabled and modules disabled is already coded into the module administration form)
Added
hook_restart_send
andhook_restart_receive
(each get a data object that can be added to).iris.restart
has changed to take the anauthPass
(was a user id previously) and an optional object (previously a message containing where the restart happened) whose contents are merged with the persistent data when restarting (an example of modules enabled and modules disabled is already coded into the module administration form)This fixes dependence on the deprecated
Object.observe
and also makes room for things like: https://github.com/CityWebConsultants/Iris/issues/206 and form key persistence over restarts.