diff options
author | Dan Kalowsky <kalowsky@php.net> | 2002-08-03 14:48:47 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2002-08-03 14:48:47 +0000 |
commit | d4ec2c30a054f790d2de62eb8a14656031ce5fc1 (patch) | |
tree | e5fad1d9681c3779534c8c99a88794e71eb31c89 /ext/imap/php_imap.c | |
parent | c8bf1652424328e712aaf5af6e3fee436458821d (diff) | |
download | php-git-d4ec2c30a054f790d2de62eb8a14656031ce5fc1.tar.gz |
Cleaning up the imap_get_quotaroot return array to remove useless data
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r-- | ext/imap/php_imap.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 7873e47b05..ad9e0d74f7 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -403,24 +403,6 @@ void mail_getquota(MAILSTREAM *stream, char *qroot, QUOTALIST *qlist) } } /* }}} */ - -/* {{{ mail_getquotaroot - * - * Mail GET_QUOTAROOT callback - * Called via the mail_parameter function in c-client:src/c-client/mail.c - * Author DRK - */ -void mail_getquotaroot(MAILSTREAM *stream, char *mbx, STRINGLIST *qroot) -{ - TSRMLS_FETCH(); - - add_next_index_stringl(IMAPG(quota_return), mbx, strlen(mbx), 1); - for(; qroot; qroot = qroot->next) { - add_next_index_stringl(IMAPG(quota_return), qroot->text.data, qroot->text.size, 1); - } - -} -/* }}} */ #endif @@ -1126,7 +1108,6 @@ PHP_FUNCTION(imap_get_quotaroot) /* set the callback for the GET_QUOTAROOT function */ mail_parameters(NIL, SET_QUOTA, (void *) mail_getquota); - mail_parameters(NIL, SET_QUOTAROOT, (void *) mail_getquotaroot); if(!imap_getquotaroot(imap_le_struct->imap_stream, Z_STRVAL_PP(mbox))) { php_error(E_WARNING, "%s(): c-client imap_getquotaroot failed", get_active_function_name(TSRMLS_C)); RETURN_FALSE; |