Clean code
This commit is contained in:
parent
67e00e5cf5
commit
6f97a551ef
@ -115,6 +115,7 @@ $user->loadDefaultValues();
|
||||
$cactioncomm = new CActionComm($db);
|
||||
$arrayofeventtype = $cactioncomm->liste_array('', 'id', '', 0, 'module=\'booth@eventorganization\'');
|
||||
|
||||
|
||||
/**
|
||||
* Show header for new member
|
||||
*
|
||||
@ -183,10 +184,10 @@ function llxFooterVierge()
|
||||
/*
|
||||
* Actions
|
||||
*/
|
||||
global $mysoc;
|
||||
|
||||
$parameters = array();
|
||||
// Note that $action and $object may have been modified by some hooks
|
||||
$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action);
|
||||
$reshook = $hookmanager->executeHooks('doActions', $parameters, $project, $action);
|
||||
if ($reshook < 0) {
|
||||
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||
}
|
||||
|
||||
@ -115,6 +115,7 @@ $user->loadDefaultValues();
|
||||
$cactioncomm = new CActionComm($db);
|
||||
$arrayofeventtype = $cactioncomm->liste_array('', 'id', '', 0, 'module=\'conference@eventorganization\'');
|
||||
|
||||
|
||||
/**
|
||||
* Show header for new member
|
||||
*
|
||||
@ -183,10 +184,10 @@ function llxFooterVierge()
|
||||
/*
|
||||
* Actions
|
||||
*/
|
||||
global $mysoc;
|
||||
|
||||
$parameters = array();
|
||||
// Note that $action and $object may have been modified by some hooks
|
||||
$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action);
|
||||
$reshook = $hookmanager->executeHooks('doActions', $parameters, $project, $action);
|
||||
if ($reshook < 0) {
|
||||
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||
}
|
||||
|
||||
@ -89,9 +89,11 @@ if ($resultproject < 0) {
|
||||
$errmsg .= $project->error;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Actions
|
||||
*/
|
||||
|
||||
$tmpthirdparty = new Societe($db);
|
||||
|
||||
$listOfConferences = $listOfBooths = '<tr><td>'.$langs->trans('Label').'</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user