arvidbjorkstrom/Agichama-Notifi — Issue #1: Notifi needs to update on subscription removal
Author: arvidbjorkstrom
Created: 2012-02-14 11:01:21+00:00
State: open

When subscriptions are removed the unread subscription count isn't updated as it should. Sadly there are no hooks on any good spots to achieve this.

The only way I can think of is to check if the $_REQUEST['do'] is either **doemptyfolder**, **removesubscription** or **usub** in the hook *usersub_start* and if so define a constant that you later check for in *redirect_generic* and do the update there. Not the most elegant solution, but the only one I can come to think of now...