Mercurial > dovecot > core-2.2
changeset 13664:3248730d84ae
dsync: Set user to be admin to ignore quota limits.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 05 Nov 2011 19:37:23 +0200 |
parents | 131e44d50d35 |
children | afec4ceda8e1 |
files | src/dsync/dsync.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dsync/dsync.c Sat Nov 05 19:37:02 2011 +0200 +++ b/src/dsync/dsync.c Sat Nov 05 19:37:23 2011 +0200 @@ -259,6 +259,7 @@ if (mail_storage_service_next(storage_service, service_user, &mail_user) < 0) i_fatal("User init failed"); + mail_user->admin = TRUE; /* create the first local worker */ worker1 = dsync_worker_init_local(mail_user, alt_char); @@ -275,6 +276,7 @@ if (mail_storage_service_next(storage_service, service_user, &mail_user2) < 0) i_fatal("User init failed"); + mail_user2->admin = TRUE; if (mail_namespaces_get_root_sep(mail_user->namespaces) != mail_namespaces_get_root_sep(mail_user2->namespaces)) {