public function tearDown() { ezpINIHelper::restoreINISettings(); eZClusterFileHandler::resetHandler(); parent::tearDown(); }
public function tearDown() { ezpINIHelper::restoreINISettings(); 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; 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(); }
public function tearDown() { ezpINIHelper::restoreINISettings(); eZClusterFileHandler::$globalHandler = null; parent::tearDown(); }