diff options
author | foobar <sniper@php.net> | 2001-08-06 15:29:49 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2001-08-06 15:29:49 +0000 |
commit | b5e49a1ba8247ae737a3a9502638f51d4a182387 (patch) | |
tree | a2b3ad6dc2b57e2ee04c32af97f5a1ca96586291 | |
parent | 7ade3b30cb9253341f18f7016e07f41a9fb478b5 (diff) | |
download | php-git-b5e49a1ba8247ae737a3a9502638f51d4a182387.tar.gz |
removed unused function. (seems like a copy of imap_body)
-rw-r--r-- | ext/imap/php_imap.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 0095e0348c..8a6ac6fd0e 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -1262,34 +1262,6 @@ PHP_FUNCTION(imap_body) } /* }}} */ -/* {{{ proto string imap_fetchtext_full(int stream_id, int msg_no [, int options]) - Read the full text of a message */ -PHP_FUNCTION(imap_fetchtext_full) -{ - zval **streamind, **msgno, **flags; - int ind, ind_type; - pils *imap_le_struct; - int myargcount = ZEND_NUM_ARGS(); - if (myargcount >3 || myargcount <2 || zend_get_parameters_ex(myargcount, &streamind, &msgno, &flags) == FAILURE) { - ZEND_WRONG_PARAM_COUNT(); - } - - convert_to_long_ex(streamind); - convert_to_long_ex(msgno); - if (myargcount == 3) { - convert_to_long_ex(flags); - } - ind = Z_LVAL_PP(streamind); - - imap_le_struct = (pils *) zend_list_find(ind, &ind_type); - if (!imap_le_struct || !IS_STREAM(ind_type)) { - php_error(E_WARNING, "Unable to find stream pointer"); - RETURN_FALSE; - } - RETVAL_STRING(mail_fetchtext_full(imap_le_struct->imap_stream, Z_LVAL_PP(msgno), NIL, myargcount==3 ? Z_LVAL_PP(flags) : NIL), 1); -} -/* }}} */ - /* {{{ proto int imap_mail_copy(int stream_id, int msg_no, string mailbox [, int options]) Copy specified message to a mailbox */ PHP_FUNCTION(imap_mail_copy) |