00692: How to change HandleAction login
We're looking to upgrade our farm from 2.0 to 2.1, we're using a customized login action. In 2.1 login is a core action calling HandleLoginA function
I would like to have login calling HandleLoginB function the syntax
SDV($HandleActions['login'], 'HandleLoginB'); isn't working.
$HandleActions['login'] = 'HandleLoginB'; is working but I'm not sure that's the way to do.
It would be nice to have this explained in the documentation.
Yes, the way you've written it is correct. The SDV function is documented at Cookbook:Functions -- you're correct that it probably belongs in the main documentation (I'm guessing it goes in PmWiki.Functions).