changement gestion initialisatio hooks
This commit is contained in:
parent
2b18830b83
commit
71c8ce246f
2
moha.php
2
moha.php
@ -322,7 +322,7 @@ while (true)
|
|||||||
$i = 1;
|
$i = 1;
|
||||||
foreach($hooks as $hookName => &$hook)
|
foreach($hooks as $hookName => &$hook)
|
||||||
{
|
{
|
||||||
if ($hook->initialized === false and $hook->active === true)
|
if ($hook->initialized === false); // and $hook->active === true)
|
||||||
{
|
{
|
||||||
logger(WARNING, _("Initializing Hook not completely initialized :") . $hookName, __FILE__ . ":" . __LINE__);
|
logger(WARNING, _("Initializing Hook not completely initialized :") . $hookName, __FILE__ . ":" . __LINE__);
|
||||||
$i &= $hook->installHooks($indexDevices);
|
$i &= $hook->installHooks($indexDevices);
|
||||||
|
Loading…
Reference in New Issue
Block a user