|
From: | Frédéric FRANCE |
Subject: | [Dolibarr-dev] Fighting the db name change |
Date: | Fri, 23 Oct 2015 21:36:56 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Hi all I have posted thid PR: https://github.com/Dolibarr/dolibarr/pull/3796 Including this in external modules may help to fight the db name change(or triggers) and to reduce anxiolitic eating for developpers you can do $sql = "SELECT * FROM ".MAIN_DB_PREFIX.TABLE_THIRDPARTY; $sql .= " WHERE ".THIRDPARTY_FK_SOC." = ".$object->id; in place of knowing the right name of past and future dolibarr version Feel free to comment and populate the file if you think it's right No need to check version if the file is correctly maintained With best regards Frederic FRANCE
[Prev in Thread] | Current Thread | [Next in Thread] |