public function tearDown()
    {
        ezpINIHelper::restoreINISettings();
        eZClusterFileHandler::resetHandler();

        parent::tearDown();
    }
Esempio n. 2
0
 public function tearDown()
 {
     ezpINIHelper::restoreINISettings();
     if (isset($GLOBALS['eZClusterFileHandler_chosen_handler'])) {
         unset($GLOBALS['eZClusterFileHandler_chosen_handler']);
     }
     parent::tearDown();
 }
Esempio n. 3
0
 public function tearDown()
 {
     // restore the previous file handler
     if ($this->previousFileHandler !== null) {
         $fileINI = eZINI::instance('file.ini');
         $fileINI->setVariable('ClusteringSettings', 'FileHandler', $this->previousFileHandler);
         $this->previousFileHandler = null;
         if (isset($GLOBALS['eZClusterFileHandler_chosen_handler'])) {
             unset($GLOBALS['eZClusterFileHandler_chosen_handler']);
         }
     }
     parent::tearDown();
 }
    public function tearDown()
    {
        // restore the previous file handler
        if ( $this->previousFileHandler !== null )
        {
            $fileINI = eZINI::instance( 'file.ini' );
            $fileINI->setVariable( 'ClusteringSettings', 'FileHandler', $this->previousFileHandler );
            $this->previousFileHandler = null;
            eZClusterFileHandler::$globalHandler = null;
        }

        parent::tearDown();
    }
Esempio n. 5
0
 public function tearDown()
 {
     ezpINIHelper::restoreINISettings();
     eZClusterFileHandler::$globalHandler = null;
     parent::tearDown();
 }