On Thu, Sep 19, 2013 at 04:22:31PM +0400, Ivan Kluchnikov wrote:
Yes, this logic will work after my changes too.
We don't talk the same language here. With your change.. all
subscribers that were allowed in during the blacklist mode are
now authorized=1. So, if I want to change the policy, I will
need to update the database.
I think the problem is that db_create_subscriber()
function not only
saves and restores records, but also creates subscriber.
So I believe, that the right way is to add new layer "subscriber" and
separate db_create_subscriber() function in two functions like
create_subscriber() [subscriber layer] and db_set_subscriber() [db
layer].
makes sense. I plan to clean that up.