Skip to:
Content

bbPress.org

Ticket #3508: 3508.patch

File 3508.patch, 555 bytes (added by GDragoN, 4 months ago)

Removed register_shutdown_function call.

  • includes/admin/classes/class-bbp-converter-db.php

     
    3030         * @param string $dbhost     MySQL database host
    3131         */
    3232        public function __construct( $dbuser, $dbpassword, $dbname, $dbhost ) {
    33                 register_shutdown_function( array( $this, '__destruct' ) );
    34 
    3533                if ( WP_DEBUG && WP_DEBUG_DISPLAY ) {
    3634                        $this->show_errors();
    3735                }