Skip to main content
Topic: To addon developers, question about integrate_actions (Read 2520 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

To addon developers, question about integrate_actions

Code: [Select]
		call_integration_hook('integrate_actions', array(&$actionArray, &$adminActions));

Did anyone use $adminActions in this hook?
I'm playing with the dispatcher and this parameter just became useless (at least in core, not sure in addons), so I was wondering if anyone used it in any addon.
Bugs creator.
Features destroyer.
Template killer.

Re: To addon developers, question about integrate_actions

Reply #1

May be in multi forum addon but I have to check.

Re: To addon developers, question about integrate_actions

Reply #2

I think I used it in SimplePortal, Misery and one I can't talk about :P  May not have been needed in any of those but there since  they were converted, they remained in some cases.

Re: To addon developers, question about integrate_actions

Reply #3

Thanks!
I'll check those and see if it breaks a lot of stuff. :D

Basically, I realized that in 1.1 check for file_exist is redundant, because of the autoloader, and it's enough to test for is_callable. The autoloader already knows where to look for classes picking up by itself ADMINDIR or CONTROLLERDIR, so the $adminActions become pointless.
Bugs creator.
Features destroyer.
Template killer.