/** * @param string $sName * * @return bool */ public function Delete($sName) { $bResult = true; $sRealFileName = $this->codeFileName($sName); if (0 < \strlen($sName) && \file_exists($this->sDomainPath . '/' . $sRealFileName . '.ini')) { $bResult = \unlink($this->sDomainPath . '/' . $sRealFileName . '.ini'); } if ($bResult) { $this->Disable($sName, false); } if ($this->oCacher) { $this->oCacher->Delete($this->wildcardDomainsCacheKey()); } return $bResult; }
public function Delete($sAuthToken) { $this->Session->Delete('AUTHTOKEN:' . $sAuthToken); }