fmk             Tue Dec  5 21:46:21 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/ming   ming.c 
  Log:
  Remove PHP4.x stuff
  
http://cvs.php.net/viewvc.cgi/php-src/ext/ming/ming.c?r1=1.79.2.4.2.5&r2=1.79.2.4.2.6&diff_format=u
Index: php-src/ext/ming/ming.c
diff -u php-src/ext/ming/ming.c:1.79.2.4.2.5 
php-src/ext/ming/ming.c:1.79.2.4.2.6
--- php-src/ext/ming/ming.c:1.79.2.4.2.5        Tue Dec  5 21:02:45 2006
+++ php-src/ext/ming/ming.c     Tue Dec  5 21:46:21 2006
@@ -18,7 +18,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: ming.c,v 1.79.2.4.2.5 2006/12/05 21:02:45 fmk Exp $ */
+/* $Id: ming.c,v 1.79.2.4.2.6 2006/12/05 21:46:21 fmk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -4135,25 +4135,6 @@
 /* {{{ 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, ...)
 {


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to