/** * Destroys a session * * @author Art <*****@*****.**> * * @param string $sessionID The ID to destroy * * @return bool */ public function destroy($sessionID) { parent::destroy($sessionID); return $this->client->delete($this->prefix . $sessionID); }
/** * Destroys a session * @author Art <*****@*****.**> * * @param string $sessionID The ID to destroy * * @return bool */ public function destroy($sessionID) { parent::destroy($sessionID); return $this->db->prepQuery('DELETE FROM `' . ALO_SESSION_TABLE_NAME . '` WHERE `id`=?', [$sessionID]); }