Clean code
This commit is contained in:
parent
1d22be092d
commit
607fb89b38
1 changed files with 0 additions and 5 deletions
|
|
@ -990,7 +990,6 @@ foreach ($listofreferent as $key => $value) {
|
|||
$tablename = $value['table'];
|
||||
$datefieldname = $value['datefieldname'];
|
||||
$qualified = $value['test'];
|
||||
$langtoload = empty($value['lang']) ? '' : $value['lang'];
|
||||
$urlnew = empty($value['urlnew']) ? '' : $value['urlnew'];
|
||||
$buttonnew = empty($value['buttonnew']) ? '' : $value['buttonnew'];
|
||||
$testnew = empty($value['testnew']) ? '' : $value['testnew'];
|
||||
|
|
@ -1006,10 +1005,6 @@ foreach ($listofreferent as $key => $value) {
|
|||
// If we want the project task array to have details of users
|
||||
//if ($key == 'project_task') $key = 'project_task_time';
|
||||
|
||||
if ($langtoload) {
|
||||
$langs->load($langtoload);
|
||||
}
|
||||
|
||||
$element = new $classname($db);
|
||||
|
||||
$addform = '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue