Removed exceptions
This commit is contained in:
parent
fdeee10fd5
commit
273b61fc4c
@ -21,7 +21,7 @@
|
|||||||
* \file htdocs/core/class/hookmanager.class.php
|
* \file htdocs/core/class/hookmanager.class.php
|
||||||
* \ingroup core
|
* \ingroup core
|
||||||
* \brief File of class to manage hooks
|
* \brief File of class to manage hooks
|
||||||
* \version $Id: hookmanager.class.php,v 1.9 2011/08/20 17:00:34 eldy Exp $
|
* \version $Id: hookmanager.class.php,v 1.10 2011/08/21 18:34:49 eldy Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@ -78,9 +78,7 @@ class HookManager
|
|||||||
{
|
{
|
||||||
if (in_array($type,$hooks))
|
if (in_array($type,$hooks))
|
||||||
{
|
{
|
||||||
$path = $module;
|
$path = '/'.$module.'/class/';
|
||||||
if ($module == 'adherent') $path = 'adherents';
|
|
||||||
$path = '/'.$path.'/class/';
|
|
||||||
$actionfile = 'actions_'.$module.'.class.php';
|
$actionfile = 'actions_'.$module.'.class.php';
|
||||||
$pathroot = '';
|
$pathroot = '';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user