From: Frank M. Kromann Date: Tue, 5 Dec 2006 21:46:33 +0000 (+0000) Subject: Remove PHP4.x stuff X-Git-Tag: RELEASE_1_0_0RC1~803 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=234c03a14f3c2bf5a72e5db7cb2ea01cc8580e87;p=php Remove PHP4.x stuff --- diff --git a/ext/ming/ming.c b/ext/ming/ming.c index ffe27b5c61..64f395afd8 100644 --- a/ext/ming/ming.c +++ b/ext/ming/ming.c @@ -4133,25 +4133,6 @@ PHP_MINFO_FUNCTION(ming) /* {{{ todo PHP_MINIT_FUNCTION(ming) */ -#if PHP_API_VERSION == 20020918 -static php4_fix_funcnames(char *class_name, zend_function_entry *funcs) -{ - zend_function_entry *pf = funcs; - char *pname; - - while(funcs->fname) { - if( strcmp(funcs->fname,"__construct") == 0 ) { - pname=strdup(class_name); - } else { - pname=strdup(funcs->fname); - } - funcs->fname=pname; - while(*pname) { *pname=tolower(*pname);pname++;} - funcs++; - } -} -#endif - /* custom error handler propagates ming errors up to php */ static void php_ming_error(const char *msg, ...) {