Update hookmanager.class.php

This commit is contained in:
UT from dolibit 2023-02-12 20:18:39 +01:00 committed by GitHub
parent ec45afb05f
commit c3425919c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,32 +166,32 @@ 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', 'dashboardPropals',
'dashboardSpecialBills',
'dashboardSupplierProposal', 'dashboardSupplierProposal',
'dashboardThirdparties',
'dashboardTickets', 'dashboardTickets',
'dashboardUsersGroups', 'dashboardUsersGroups',
'dashboardWarehouse',
'dashboardWarehouseReceptions',
'dashboardWarehouseSendings',
'insertExtraHeader', 'insertExtraHeader',
'insertExtraFooter', 'insertExtraFooter',
'printLeftBlock', 'printLeftBlock',