Merge branch 'master' of https://scodoc.org/git/viennet/ScoDoc into refactor_nt

This commit is contained in:
Emmanuel Viennet 2022-01-08 19:58:57 +01:00
commit 9e3ad8efbc
2 changed files with 0 additions and 3 deletions

View File

@ -307,7 +307,6 @@ def do_formation_edit(args):
sco_formations._formationEditor.edit(cnx, args)
formation: Formation = Formation.query.get(args["formation_id"])
formation.invalidate_cached_sems()
formation.sanitize_old_formation()
def module_move(module_id, after=0, redirect=True):

View File

@ -509,7 +509,6 @@ def ue_table(formation_id=None, semestre_idx=1, msg=""): # was ue_list
formation: Formation = Formation.query.get(formation_id)
if not formation:
raise ScoValueError("invalid formation_id")
formation.sanitize_old_formation()
parcours = formation.get_parcours()
is_apc = parcours.APC_SAE
locked = formation.has_locked_sems()
@ -1209,7 +1208,6 @@ def do_ue_edit(args, bypass_lock=False, dont_invalidate_cache=False):
if not dont_invalidate_cache:
# Invalide les semestres utilisant cette formation:
formation.invalidate_cached_sems()
formation.sanitize_old_formation()
# essai edition en ligne: