Mercurial > dovecot > original-hg > dovecot-1.2
changeset 5610:5f50bde79009 HEAD
Removed alert_no_diskspace callback. It wasn't used anywhere.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 13 May 2007 18:55:19 +0300 |
parents | 6f924ecdc154 |
children | 44db6ddd5a17 |
files | src/imap/mail-storage-callbacks.c src/lib-storage/mail-storage.h |
diffstat | 2 files changed, 0 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/mail-storage-callbacks.c Sun May 13 18:54:31 2007 +0300 +++ b/src/imap/mail-storage-callbacks.c Sun May 13 18:55:19 2007 +0300 @@ -5,15 +5,6 @@ #include "mail-storage.h" #include "commands-util.h" -static void alert_no_diskspace(struct mailbox *mailbox __attr_unused__, - void *context) -{ - struct client *client = context; - - client_send_line(client, "* NO [ALERT] " - "Disk space is full, delete some messages."); -} - static void notify_ok(struct mailbox *mailbox __attr_unused__, const char *text, void *context) { @@ -47,7 +38,6 @@ } struct mail_storage_callbacks mail_storage_callbacks = { - alert_no_diskspace, notify_ok, notify_no };
--- a/src/lib-storage/mail-storage.h Sun May 13 18:54:31 2007 +0300 +++ b/src/lib-storage/mail-storage.h Sun May 13 18:55:19 2007 +0300 @@ -174,8 +174,6 @@ }; struct mail_storage_callbacks { - /* Alert: Not enough disk space */ - void (*alert_no_diskspace)(struct mailbox *mailbox, void *context); /* "* OK <text>" */ void (*notify_ok)(struct mailbox *mailbox, const char *text, void *context);