forked from EVOgeek/Vmeda.Online
		
	MOBILE-4061 behat: Remove local plugin dependancy
This commit is contained in:
		
							parent
							
								
									5b5d654b32
								
							
						
					
					
						commit
						22763cec08
					
				| @ -353,17 +353,6 @@ class behat_app extends behat_base { | ||||
|             $service->enabled = 1; | ||||
|             $webservicemanager->update_external_service($service); | ||||
|         } | ||||
| 
 | ||||
|         // If installed, also configure local_mobile plugin to enable additional features service.
 | ||||
|         $localplugins = core_component::get_plugin_list('local'); | ||||
|         if (array_key_exists('mobile', $localplugins)) { | ||||
|             $service = $webservicemanager->get_external_service_by_shortname( | ||||
|                     'local_mobile', MUST_EXIST); | ||||
|             if (!$service->enabled) { | ||||
|                 $service->enabled = 1; | ||||
|                 $webservicemanager->update_external_service($service); | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user