/** * Delete provided Ampersand session atom from database * @param string $sessionAtomId ampersand session atom id * @return void */ private function destroyAmpersandSession($sessionAtomId) { $this->database->Exe("DELETE FROM `__SessionTimeout__` WHERE SESSION = '{$sessionAtomId}'"); $atom = new Atom($sessionAtomId, Concept::getConceptByLabel('SESSION')); $atom->deleteAtom(); $this->database->commitTransaction(); }