changement gestion initialisatio hooks
This commit is contained in:
		
							
								
								
									
										2
									
								
								moha.php
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								moha.php
									
									
									
									
									
								
							@@ -322,7 +322,7 @@ while (true)
 | 
			
		||||
		$i = 1;
 | 
			
		||||
		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__);
 | 
			
		||||
				$i &= $hook->installHooks($indexDevices);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user