Merge pull request #23885 from dolibit-ut/patch-658

Update hookmanager.class.php
This commit is contained in:
Laurent Destailleur 2023-02-13 18:17:06 +01:00 committed by GitHub
commit 49d823ad4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,32 +167,31 @@ class HookManager
// TODO Remove hooks with type 'output' (exemple createFrom). All hooks must be converted into 'addreplace' hooks. // TODO Remove hooks with type 'output' (exemple createFrom). All hooks must be converted into 'addreplace' hooks.
if (in_array($method, array( if (in_array($method, array(
'createFrom', 'createFrom',
'dashboardMembers',
'dashboardEmailings',
'dashboardPropals',
'dashboardPropals',
'dashboardCommercials',
'dashboardOrders',
'dashboardSpecialBills',
'dashboardAccountancy', 'dashboardAccountancy',
'dashboardActivities',
'dashboardCommercials',
'dashboardContracts', 'dashboardContracts',
'dashboardDonation', 'dashboardDonation',
'dashboardWarehouseSendings', 'dashboardEmailings',
'dashboardExpenseReport', 'dashboardExpenseReport',
'dashboardInterventions',
'dashboardOrdersSuppliers',
'dashboardHRM', 'dashboardHRM',
'dashboardInterventions',
'dashboardMRP', 'dashboardMRP',
'dashboardMembers',
'dashboardOpensurvey', 'dashboardOpensurvey',
'dashboardWarehouse', 'dashboardOrders',
'dashboardOrdersSuppliers',
'dashboardProductServices', 'dashboardProductServices',
'dashboardActivities',
'dashboardProjects', 'dashboardProjects',
'dashboardWarehouseReceptions', 'dashboardPropals',
'dashboardThirdparties', 'dashboardSpecialBills',
'dashboardSupplierProposal', 'dashboardSupplierProposal',
'dashboardThirdparties',
'dashboardTickets', 'dashboardTickets',
'dashboardUsersGroups', 'dashboardUsersGroups',
'dashboardWarehouse',
'dashboardWarehouseReceptions',
'dashboardWarehouseSendings',
'insertExtraHeader', 'insertExtraHeader',
'insertExtraFooter', 'insertExtraFooter',
'printLeftBlock', 'printLeftBlock',