# HG changeset patch # User Timo Sirainen # Date 1260469682 18000 # Node ID 5e2206e3c750964a086704324781fba5f1fdc945 # Parent fe1f31b4e21e31a0c9b2678a273ed4a443e3ab99 quota plugin broke other plugins' namespace_created hooks. diff -r fe1f31b4e21e -r 5e2206e3c750 src/plugins/quota/quota-plugin.h --- a/src/plugins/quota/quota-plugin.h Wed Dec 09 20:06:20 2009 -0500 +++ b/src/plugins/quota/quota-plugin.h Thu Dec 10 13:28:02 2009 -0500 @@ -7,6 +7,7 @@ extern void (*quota_next_hook_mail_storage_created) (struct mail_storage *storage); extern void (*quota_next_hook_mailbox_list_created)(struct mailbox_list *list); +extern void (*quota_next_hook_mail_namespaces_created)(struct mail_namespace *namespaces); extern struct quota_settings *quota_set; diff -r fe1f31b4e21e -r 5e2206e3c750 src/plugins/quota/quota-storage.c --- a/src/plugins/quota/quota-storage.c Wed Dec 09 20:06:20 2009 -0500 +++ b/src/plugins/quota/quota-storage.c Thu Dec 10 13:28:02 2009 -0500 @@ -601,4 +601,7 @@ roots[i]->ns_prefix); } } + + if (quota_next_hook_mail_namespaces_created != NULL) + quota_next_hook_mail_namespaces_created(namespaces); }