private static function delete_poll_from_db($id_poll) { $poll = new YOP_POLL_Poll_Model($id_poll); $poll->delete(); }