Up to [LON-CAPA] / loncom
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: version_2_5_2
Institutional directory search now reported as unavailable in the case where a DC has enabled directory searching via "Modify domain configuration" but either: (a) localenroll::get_userinfo() has not been customized, or (b) an error ioccurred when querying the institutional directory. lonsql - &do_inst_dir_search() returns 'unavailable' if the response from localenroll::get_userinfo() is not 'ok' lonnet.pm - &inst_directory_query() now returns a scalar and a hash. - scalar is the outcome of the query: 'unavailable', 'ok' or ''. - hash contains the search results (if any matches) loncreateuser.pm - Report to user that institutional directory search is unavailable if response from &lonnet::inst_directory_query() is not 'ok'. localenroll.pm - documentation updated - &get_userinfo() returns 'unavailable' by default