Commit 71118173 authored by Frank Bergmann's avatar Frank Bergmann

- Fixed deprecated proc

parent c2ff47f8
......@@ -16,10 +16,8 @@ ad_page_contract {
}
set package_id [ad_conn package_id]
set context [list "Surveys"]
set user_id [ad_maybe_redirect_for_registration]
set user_id [auth::require_login]
db_multirow -extend {survey_url} surveys survey_select {
select survey_id, name
......
......@@ -99,7 +99,7 @@ if {![info exists task]} {
ad_require_permission $survey_id survsimp_take_survey
set user_id [ad_maybe_redirect_for_registration]
set user_id [auth::require_login]
set package_url "/simple-survey"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment