Merge pull request #16278 from bafbes/abb120357
new : hook context subscriptioncard and restrictedArea block for subscriptions
This commit is contained in:
commit
4a35600e62
1 changed files with 4 additions and 0 deletions
|
|
@ -55,6 +55,10 @@ $permissionnote = $user->rights->adherent->cotisation->creer; // Used by the inc
|
|||
$permissiondellink = $user->rights->adherent->cotisation->creer; // Used by the include of actions_dellink.inc.php
|
||||
$permissiontoedit = $user->rights->adherent->cotisation->creer; // Used by the include of actions_lineupdonw.inc.php
|
||||
|
||||
$hookmanager->initHooks(array('subscriptioncard', 'globalcard'));
|
||||
|
||||
// Security check
|
||||
$result = restrictedArea($user, 'subscription', $id, '', '', 'socid', 'rowid');
|
||||
|
||||
/*
|
||||
* Actions
|
||||
|
|
|
|||
Loading…
Reference in a new issue