Merge pull request #24563 from frederic34/patch-5
add hooks in ecm card
This commit is contained in:
commit
c59011971c
@ -89,6 +89,8 @@ $permissiontocreatedir = $user->hasRight('ecm', 'setup');
|
|||||||
$permissiontodelete = $user->hasRight('ecm', 'upload');
|
$permissiontodelete = $user->hasRight('ecm', 'upload');
|
||||||
$permissiontodeletedir = $user->hasRight('ecm', 'setup');
|
$permissiontodeletedir = $user->hasRight('ecm', 'setup');
|
||||||
|
|
||||||
|
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||||
|
$hookmanager->initHooks(array('ecmindexcard', 'globalcard'));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
|
|||||||
@ -102,6 +102,8 @@ $websitekey = '';
|
|||||||
|
|
||||||
$permissiontoadd = $permissiontouploadfile; // Used by the include of actions_addupdatedelete.inc.php and actions_linkedfiles
|
$permissiontoadd = $permissiontouploadfile; // Used by the include of actions_addupdatedelete.inc.php and actions_linkedfiles
|
||||||
|
|
||||||
|
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||||
|
$hookmanager->initHooks(array('ecmmediascard', 'globalcard'));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user