Fix: Removed old deprecated options
This commit is contained in:
parent
0891275893
commit
d6eb99c42d
@ -352,9 +352,6 @@ class Conf
|
||||
if (empty($this->global->SOCIETE_CODECLIENT_ADDON)) $this->global->SOCIETE_CODECLIENT_ADDON="mod_codeclient_leopard";
|
||||
if (empty($this->global->SOCIETE_CODEFOURNISSEUR_ADDON)) $this->global->SOCIETE_CODEFOURNISSEUR_ADDON=$this->global->SOCIETE_CODECLIENT_ADDON;
|
||||
if (empty($this->global->SOCIETE_CODECOMPTA_ADDON)) $this->global->SOCIETE_CODECOMPTA_ADDON="mod_codecompta_panicum";
|
||||
// Pour compatibilite ascendante:
|
||||
if (isset($this->global->CODECLIENT_ADDON)) $this->global->SOCIETE_CODECLIENT_ADDON=$this->global->CODECLIENT_ADDON;
|
||||
if (isset($this->global->CODEFOURNISSEUR_ADDON)) $this->global->SOCIETE_CODEFOURNISSEUR_ADDON=$this->global->CODEFOURNISSEUR_ADDON;
|
||||
|
||||
// securite
|
||||
if (empty($this->global->USER_PASSWORD_GENERATED)) $this->global->USER_PASSWORD_GENERATED='standard';
|
||||
|
||||
@ -18,6 +18,12 @@ update llx_const set value='' where name='MAIN_FORCE_SETLOCALE_LC_MONETARY' and
|
||||
update llx_const set value='' where name='MAIN_FORCE_SETLOCALE_LC_NUMERIC' and value='MAIN_FORCE_SETLOCALE_LC_NUMERIC';
|
||||
update llx_const set value='' where name='MAIN_FORCE_SETLOCALE_LC_TIME' and value='MAIN_FORCE_SETLOCALE_LC_TIME';
|
||||
|
||||
-- remove old deprecated options
|
||||
update llx_const set name='SOCIETE_CODECLIENT_ADDON' where name='CODECLIENT_ADDON';
|
||||
update llx_const set name='SOCIETE_CODEFOURNISSEUR_ADDON' where name='CODEFOURNISSEUR_ADDON';
|
||||
delete from llx_const where name='CODECLIENT_ADDON';
|
||||
delete from llx_const where name='CODEFOURNISSEUR_ADDON';
|
||||
|
||||
alter table llx_document_model modify type varchar(20) NOT NULL;
|
||||
|
||||
DELETE FROM llx_rights_def WHERE module = 'menudb';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user