public function tearDown() { if (!empty($this->tmpFile)) { unlink($this->tmpFile); } parent::tearDown(); }
public function tearDown() { parent::tearDown(); if ($this->tmpPath !== false) { unlink($this->tmpPath); } }
public function tearDown() { global $wgApiAccess, $wgApiEnvironment; $wgApiAccess = $this->org_wgApiAccess; $wgApiEnvironment = $this->org_wgApiEnvironment; parent::tearDown(); }
function tearDown() { global $wgDevelEnvironment, $wgDevelEnvironmentName; $wgDevelEnvironment = $this->wgDevelEnv; $wgDevelEnvironmentName = $this->wgDevelEnvName; parent::tearDown(); }
public function tearDown() { parent::tearDown(); global $wgStagingList; $wgStagingList = $this->org_StagingList; if (!empty($this->serverName)) { $_SERVER['SERVER_NAME'] = $this->serverName; } }
function tearDown() { parent::tearDown(); $_SERVER = $this->serverOriginal; }
public function tearDown() { global $wgDevelEnvironment; $wgDevelEnvironment = $this->org_wgDevelEnvironment; parent::tearDown(); }
public function tearDown() { @unlink($this->tmpFile); parent::tearDown(); }
protected function tearDown() { // we use libxml only for tests here libxml_clear_errors(); parent::tearDown(); }
public function tearDown() { parent::tearDown(); global $wgCommandLineSilentMode; $wgCommandLineSilentMode = $this->silentMode; }
public function tearDown() { parent::tearDown(); }
public function tearDown() { parent::tearDown(); $this->app->wg->Out->mScripts = $this->wgOutmScriptsCached; $this->wgOutmScriptsCached = ''; }
public function tearDown() { global $wgHooks; $wgHooks = $this->oldWgHooks; parent::tearDown(); }
public function tearDown() { parent::tearDown(); global $wgUser; $wgUser = $this->backupUser; }
protected function tearDown() { global $wgCityId; $wgCityId = $this->wgCityId; parent::tearDown(); }
protected function tearDown() { global $wgUser; parent::tearDown(); // restore $wgUser $wgUser = $this->origUser; }
public function tearDown() { if (!empty($this->program)) { $this->program->delete(); } parent::tearDown(); }