FCLT#67213 Vervallen RES-lcl's

svn path=/Database/trunk/; revision=51717
This commit is contained in:
Jos Groot Lipman
2021-06-01 13:40:23 +00:00
parent 647a185a3e
commit ac4a6d6262
2 changed files with 5 additions and 5 deletions

View File

@@ -7575,6 +7575,11 @@ INSERT INTO fac_locale_xsl (fac_locale_xsl_module,
AND tmp_lcl.fac_locale_xsl_module = flx.fac_locale_xsl_module);
COMMIT;
-- Dialect/terminologie items die niet meer bestaan
DELETE FROM fac_localeitems
WHERE fac_localeitems_lcl NOT IN
(SELECT fac_locale_xsl_label FROM fac_locale_xsl);
BEGIN
lcl.fallback_languages;
END;

View File

@@ -6,11 +6,6 @@
*/
COMMIT;
-- Dialect/terminologie items die niet meer bestaan
DELETE FROM fac_localeitems
WHERE fac_localeitems_lcl NOT IN
(SELECT fac_locale_xsl_label FROM fac_locale_xsl);
-- Bij een DROP TABLE wordt nogal eens de PURGE vergeten
PURGE RECYCLEBIN;