From 27e4852a3597a334477a247bb51a71dd59a52746 Mon Sep 17 00:00:00 2001
From: Florian Henry <florian.henry@open-concept.pro>
Date: Wed, 30 Oct 2013 12:27:36 +0100
Subject: [PATCH] upgrade process to change const SOCIETE_DONOTSEARCH_ANYWHERE
 to COMPANY_DONOTSEARCH_ANYWHERE

---
 htdocs/install/mysql/migration/3.4.0-3.5.0.sql | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/htdocs/install/mysql/migration/3.4.0-3.5.0.sql b/htdocs/install/mysql/migration/3.4.0-3.5.0.sql
index 889e606c4fe..396954347a6 100755
--- a/htdocs/install/mysql/migration/3.4.0-3.5.0.sql
+++ b/htdocs/install/mysql/migration/3.4.0-3.5.0.sql
@@ -316,3 +316,5 @@ create table llx_contrat_extrafields
 -- add outstanding bill
 ALTER TABLE llx_societe ADD outstanding_limit double(24,8) DEFAULT NULL AFTER mode_reglement_supplier;
 
+UPDATE llx_const SET name='COMPANY_DONOTSEARCH_ANYWHERE' WHERE name='SOCIETE_DONOTSEARCH_ANYWHERE';
+
-- 
GitLab