gothfox/Tiny-Tiny-RSS — pull request #387 by wltb (2014-07-06 16:12:29+00:00)
Title: Setup Pluginhost for subscribe hook

The subscribe hook didn't work if subscription was called via REST/public.php. Leafing through the code indicated that Pluginhost probably isn't setup then, so this patch attempts to do this right before the subscribe hook is called.

Tested in the GUI and with REST, and a short inspection of the API code seems to suggest that at least it shouldn't fail since `$_SESSION` is available then.