kernel/classes/ezclusterfilehandler.php
public static function preFork()
    {
        $clusterHandler = self::instance();

        // disconnect DB based cluster handlers from the database
        if ( $clusterHandler instanceof ezpDatabaseBasedClusterFileHandler )
        {
            $clusterHandler->disconnect();

            // destroy the current handler so that it reconnects when instanciated again
            self::$globalHandler = null;
        }
    }
public static function preFork()
    {
        $clusterHandler = self::instance();

        // disconnect DB based cluster handlers from the database
        if ( $clusterHandler instanceof ezpDatabaseBasedClusterFileHandler )
        {
            $clusterHandler->disconnect();

            // destroy the current handler so that it reconnects when instanciated again
            self::$globalHandler = null;
        }
    }
public static function preFork ( ) { $ clusterHandler = self :: instance ( ) ; // disconnect DB based cluster handlers from the database if ( $ clusterHandler instanceof ezpDatabaseBasedClusterFileHandler ) { $ clusterHandler -> disconnect ( ) ; // destroy the current handler so that it reconnects when instanciated again self :: $ globalHandler = null ; } }
Performs required operations before forking a process

- disconnects DB based cluster handlers from the database
Performs required operations before forking a process