Qual: Removed dead code
This commit is contained in:
parent
97f91d0ef9
commit
0a9f4a41f3
@ -842,11 +842,6 @@ function complete_dictionary_with_modules(&$taborder,&$tabname,&$tablib,&$tabsql
|
|||||||
global $db, $modules, $conf, $langs;
|
global $db, $modules, $conf, $langs;
|
||||||
|
|
||||||
// Search modules
|
// Search modules
|
||||||
$filename = array();
|
|
||||||
$modules = array();
|
|
||||||
$orders = array();
|
|
||||||
$categ = array();
|
|
||||||
$dirmod = array();
|
|
||||||
$modulesdir = dolGetModulesDirs();
|
$modulesdir = dolGetModulesDirs();
|
||||||
$i = 0; // is a sequencer of modules found
|
$i = 0; // is a sequencer of modules found
|
||||||
$j = 0; // j is module number. Automatically affected if module number not defined.
|
$j = 0; // j is module number. Automatically affected if module number not defined.
|
||||||
@ -900,14 +895,6 @@ function complete_dictionary_with_modules(&$taborder,&$tabname,&$tablib,&$tabsql
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$modules[$i] = $objMod;
|
|
||||||
$filename[$i]= $modName;
|
|
||||||
$orders[$i] = $objMod->family."_".$j; // Tri par famille puis numero module
|
|
||||||
//print "x".$modName." ".$orders[$i]."\n<br>";
|
|
||||||
if (isset($categ[$objMod->special])) $categ[$objMod->special]++; // Array of all different modules categories
|
|
||||||
else $categ[$objMod->special]=1;
|
|
||||||
$dirmod[$i] = $dirroot;
|
|
||||||
|
|
||||||
// Complete arrays
|
// Complete arrays
|
||||||
//&$tabname,&$tablib,&$tabsql,&$tabsqlsort,&$tabfield,&$tabfieldvalue,&$tabfieldinsert,&$tabrowid,&$tabcond
|
//&$tabname,&$tablib,&$tabsql,&$tabsqlsort,&$tabfield,&$tabfieldvalue,&$tabfieldinsert,&$tabrowid,&$tabcond
|
||||||
if (empty($objMod->dictionaries) && ! empty($objMod->dictionnaries)) $objMod->dictionaries=$objMod->dictionnaries; // For backward compatibility
|
if (empty($objMod->dictionaries) && ! empty($objMod->dictionnaries)) $objMod->dictionaries=$objMod->dictionnaries; // For backward compatibility
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user