Code Duplication    Length = 5-5 lines in 2 locations

Sources/ManageMaintenance.php 2 locations

@@ 2282-2286 (lines=5) @@
2279
	}
2280
2281
	// Hook is an instance.
2282
	if (strpos($modFunc, '#') !== false)
2283
	{
2284
		$modFunc = str_replace('#', '', $modFunc);
2285
		$hookData['object'] = true;
2286
	}
2287
2288
	// Hook is "disabled"
2289
	if (strpos($modFunc, '!') !== false)
@@ 2289-2293 (lines=5) @@
2286
	}
2287
2288
	// Hook is "disabled"
2289
	if (strpos($modFunc, '!') !== false)
2290
	{
2291
		$modFunc = str_replace('!', '', $modFunc);
2292
		$hookData['enabled'] = false;
2293
	}
2294
2295
	// Handling methods?
2296
	if (strpos($modFunc, '::') !== false)