From: foobar Date: Mon, 6 Aug 2001 15:29:49 +0000 (+0000) Subject: removed unused function. (seems like a copy of imap_body) X-Git-Tag: PRE_ENGINE2_SPLIT~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5e49a1ba8247ae737a3a9502638f51d4a182387;p=php removed unused function. (seems like a copy of imap_body) --- 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)