FSN#51441 ook profiel wissen
svn path=/Database/trunk/; revision=36176
This commit is contained in:
@@ -208,11 +208,11 @@ BEGIN
|
||||
UPDATE prs_contactpersoon
|
||||
SET prs_perslid_key = NULL
|
||||
WHERE prs_perslid_key = :old.prs_perslid_key;
|
||||
|
||||
|
||||
-- Verwijder vervangingsregistraties heen en terug
|
||||
DELETE FROM prs_collega
|
||||
DELETE FROM prs_collega
|
||||
WHERE prs_perslid_key = :old.prs_perslid_key OR prs_perslid_key_alt = :old.prs_perslid_key;
|
||||
|
||||
|
||||
BEGIN
|
||||
-- Pak mijn autorisaties af
|
||||
DELETE FROM FAC_GEBRUIKERSGROEP WHERE PRS_PERSLID_KEY = :old.prs_perslid_key;
|
||||
@@ -242,6 +242,8 @@ BEGIN
|
||||
:new.prs_perslid_wachtwoord_hash := NULL;
|
||||
:new.prs_perslid_wachtwoord_exp := NULL;
|
||||
:new.prs_perslid_otpsecret := NULL;
|
||||
-- Wis profiel (dat kan anders nooit opgeruimd worden)
|
||||
:new.fac_profiel_key := NULL;
|
||||
END IF;
|
||||
|
||||
IF :new.prs_perslid_oslogin IS NULL AND :old.prs_perslid_oslogin IS NOT NULL
|
||||
|
||||
Reference in New Issue
Block a user