Remove useless test. If name = MAIN_MODULE_%_DIR_OUTPUT, it is always <> than MAIN_MODULE_SYSLOG_OUTPUT

This commit is contained in:
Laurent Destailleur 2009-05-06 23:22:36 +00:00
parent 5e405ad655
commit aa67186f0a

View File

@ -10,11 +10,13 @@
-- so we made first change to remove it
alter table llx_menu_const drop foreign key fk_menu_const_fk_menu;
ALTER TABLE llx_adherent ADD UNIQUE INDEX uk_adherent_fk_soc (fk_soc);
update llx_menu_constraint set action = '$conf->societe->enabled' where action = '$conf->commercial->enabled';
-- Clean no more required parameters
delete from llx_const where name = 'MAIN_MODULE_COMMERCIAL';
delete from llx_const where name like 'MAIN_MODULE_%_DIR_OUTPUT' AND name <> 'MAIN_MODULE_SYSLOG_OUTPUT';
delete from llx_const where name like 'MAIN_MODULE_%_DIR_OUTPUT';
delete from llx_const where name like 'MAIN_MODULE_%_DIR_TEMP';
alter table llx_societe add column import_key varchar(14);