Commit 1be55bb1 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Utilisation de get_ose_user pour bénéficier du cache

parent 2bac7f8b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -985,7 +985,7 @@ CREATE OR REPLACE PACKAGE BODY "FORMULE_UNICAEN" AS
        element_modulateur
      SET
        histo_destruction = SYSDATE,
        histo_destructeur_id = ose_divers.GET_OSE_UTILISATEUR_ID()
        histo_destructeur_id = ose_parametre.get_ose_user
      WHERE
          id = em.id
      ;
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ CREATE OR REPLACE PACKAGE BODY "UNICAEN_IMPORT" AS
  FUNCTION get_current_user RETURN INTEGER IS
  BEGIN
    IF v_current_user IS NULL THEN
      v_current_user := ose_divers.GET_OSE_UTILISATEUR_ID();
      v_current_user := OSE_PARAMETRE.GET_OSE_USER();
    END IF;
    RETURN v_current_user;
  END get_current_user;