- fix calls to deprecated function ad_parameter stored in SQL (this should be actually replaced to a single call to a proc performing the logic)
- fixing presumably dead code (??) from assessment-actions-create-p.sql