2
0
forked from Wavyzz/dolibarr

Replace multiple load calls with loadLangs method

This commit is contained in:
Alexey Pyltsyn
2018-10-01 09:22:23 +03:00
parent 15780f71b4
commit 49de7a5881
62 changed files with 63 additions and 214 deletions

View File

@@ -41,9 +41,7 @@ require_once DOL_DOCUMENT_ROOT."/core/class/ldap.class.php";
require_once DOL_DOCUMENT_ROOT."/user/class/user.class.php";
require_once DOL_DOCUMENT_ROOT."/user/class/usergroup.class.php";
$langs->load("main");
$langs->load("errors");
$langs->loadLangs(array("main", "errors"));
// Global variables
$version=DOL_VERSION;