]> granicus.if.org Git - php/commitdiff
remove obsolete check
authorYasuo Ohgaki <yohgaki@php.net>
Fri, 3 Mar 2006 20:41:52 +0000 (20:41 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Fri, 3 Mar 2006 20:41:52 +0000 (20:41 +0000)
ext/mbstring/mbstring.c

index 389c86bc80bd70abc4c2250f4e78ab96cbd7fa9d..32dbe8ac82e857be0b7f2228a539c74d8654738f 100644 (file)
@@ -3070,11 +3070,6 @@ PHP_FUNCTION(mb_send_mail)
        smart_str *s;
        extern void mbfl_memory_device_unput(mbfl_memory_device *device);
 
-       if (PG(safe_mode) && (ZEND_NUM_ARGS() == 5)) {
-               php_error_docref(NULL TSRMLS_CC, E_WARNING, "SAFE MODE Restriction in effect.  The fifth parameter is disabled in SAFE MODE.");
-               RETURN_FALSE;
-       }
-    
        /* initialize */
        mbfl_memory_device_init(&device, 0, 0);
        mbfl_string_init(&orig_str);