diff --git a/app/views/notes.py b/app/views/notes.py index 34fb1b4b..6411e5e4 100644 --- a/app/views/notes.py +++ b/app/views/notes.py @@ -3161,43 +3161,3 @@ def check_integrity_all(): + "
empty page: see logs and mails
" + html_sco_header.sco_footer() ) - - -# -------------------------------------------------------------------- -# Support for legacy ScoDoc 7 API -# -------------------------------------------------------------------- -@bp.route("/moduleimpl_list") -@scodoc -@permission_required(Permission.ScoView) -@scodoc7func -def moduleimpl_list( - moduleimpl_id=None, formsemestre_id=None, module_id=None, format="json" -): - # TODO DEPRECATED A RETIRER - try: - data = sco_moduleimpl.moduleimpl_list( - moduleimpl_id=moduleimpl_id, - formsemestre_id=formsemestre_id, - module_id=module_id, - ) - return scu.sendResult(data, format=format) - except ScoException: - abort(404) - - -@bp.route("/do_moduleimpl_withmodule_list") # ancien nom -@bp.route("/moduleimpl_withmodule_list") -@scodoc -@permission_required(Permission.ScoView) -@scodoc7func -def moduleimpl_withmodule_list( - moduleimpl_id=None, formsemestre_id=None, module_id=None, format="json" -): - """API ScoDoc 7""" - # TODO DEPRECATED A RETIRER - data = sco_moduleimpl.moduleimpl_withmodule_list( - moduleimpl_id=moduleimpl_id, - formsemestre_id=formsemestre_id, - module_id=module_id, - ) - return scu.sendResult(data, format=format)