Merge pull request #16278 from bafbes/abb120357
new : hook context subscriptioncard and restrictedArea block for subscriptions
This commit is contained in:
commit
4a35600e62
@ -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
|
$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
|
$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
|
* Actions
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user