public function drop($target) { try { Oops_Sql_Common::delete($this->_table, array('target' => $target)); } catch (Oops_Sql_Exception $e) { self::__install($this->_table); } }
public function _destroy($ses_id) { $ses_id = preg_replace('/\\W+/', '', $ses_id); Oops_Sql_Common::delete($this->_tableSessions, array('ses_id' => $ses_id)); return true; }